Can't access project milestones

#1

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)
php: 5.6.40-1+ubuntu18.04.1+deb.sury.org+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

0 Likes

#2

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.

0 Likes

#3

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

0 Likes

closed #4
0 Likes