Can't access project milestones


Observed Behavior:
Accessing project milestones returns the following error after performing an upgrade on a self-hosted instance.

Unhandled Exception (“InvalidArgumentException”)
Array item with key’0’ must be an instance of PhabricatorProfileMenuItemView, NULL given.

Expected Behavior:
Allow me to access milestones :wink:

Phabricator Version:
phabricator: 7e1743a959e01e63d306dcc670685f678effe540 (Fri, Apr 5)
arcanist: 9830c9316d38988b2dc283ac1a124b73bc8e6c5f (Mar 7 2019)
phutil: 70ac0d66e300302eeef1381343371fa06922c81b (Mon, Apr 1)
diff: 3.6 at /usr/bin/diff
git: 2.17.1 at /usr/bin/git
hg: Not Available
pygmentize: 2.2.0 at /usr/bin/pygmentize
svn: Not Available

Reproduction Steps:
Not sure if possible to reproduce, seems like it could be an issue with my instance

Any help would be greatly appreciated



Dug into it a little bit more and it looks like this occurs because I’m attempting to enable maniphest.points in the ui config using the following example database value:

“enabled”: true,
“label”: “Estimated Hours”,
“action”: “Change Estimate”

Removing this allows me to access the milestones again, but it would be nice to have this working because we’ve been using a custom field for Story Points prior to our upgrade.



This should be fixed in master (I think the fix was incidental in, although some other stuff in master is far-less-than-perfect right now so the cure may be worse than the disease.


closed #4