FreeBSD Port: phabricator-php73-20200514_1

Michael Gmelin freebsd at grem.de
Tue Jun 16 08:39:48 UTC 2020



> On 16. Jun 2020, at 08:41, Fabian Abplanalp - Legatech GmbH <fabian at legatech.ch> wrote:
> 
> Hi
> 
> Since we updated the Port to 20200514_1 we can't create milestones anymore with the following information... Is there anything known about that problem or should we place a bugreport at phabricator?
> 
> Reproducible case (on our phab-test):
> 
> Get PHID of the project where I want to add a milestone:
> https://phab-test.neratec.com/conduit/method/phid.lookup/
> names: ["#software_team"]
> result:
> { "#software_team":
>   { "phid": "PHID-PROJ-32jtopr6klyrrpxe3pow",
>     "uri": "https://phab-test.neratec.com/tag/software_team/",
>     "typeName": "Project",
>     "type": "PROJ",
>     "name": "Software Team",
>     "fullName": "Software Team",
>     "status": "open"
>   }
> }
> Try to create milestone of "Software Team" project
> https://phab-test.neratec.com/conduit/method/project.edit/
> transactions: [{"type":"milestone","value":"PHID-PROJ-32jtopr6klyrrpxe3pow"},{"type":"name","value":"2020.15"},{"type":"description","value":"= Sprint 2020.15"}]
> Conduit > Unhandled Exception ("Error")
> Call to a member function getPHID() on null
> Error on server shows: EXCEPTION: (Error) Call to a member function getPHID() on null at [<phabricator>/src/applications/project/editor/PhabricatorProjectTransactionEditor.php:358]
> 

Based on staring at the code[0], my wild guess is that your conduit user has no or insufficient access to the parent project (above the code referenced a copy of parent is created and adjusted for permissions).

The ticket referenced in the code can be found here[1].

Best,
Michael

[0] https://github.com/phacility/phabricator/blob/d203a1004c7509109fccdf526e9941b89eeef662/src/applications/project/editor/PhabricatorProjectTransactionEditor.php#L349

[1] https://secure.phabricator.com/T13462

> 
> -- 
> Fabian Abplanalp
> Senior IT System Administrator
> 
> Legatech GmbH
> Etzelstrasse 14
> 8634 Hombrechtikon
> Switzerland
> Tel 055 244 36 39 / https://www.legatech.ch


More information about the freebsd-ports mailing list