Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jun 2020 10:39:30 +0200
From:      Michael Gmelin <freebsd@grem.de>
To:        Fabian Abplanalp - Legatech GmbH <fabian@legatech.ch>
Cc:        "ports@freebsd.org" <ports@freebsd.org>
Subject:   Re: FreeBSD Port: phabricator-php73-20200514_1
Message-ID:  <43F0A9E9-0930-424F-A98C-741F18517AE6@grem.de>
In-Reply-To: <d0ce54d6-89ca-b917-32ef-134c07b1ae18@legatech.ch>
References:  <d0ce54d6-89ca-b917-32ef-134c07b1ae18@legatech.ch>

next in thread | previous in thread | raw e-mail | index | archive | help


> On 16. Jun 2020, at 08:41, Fabian Abplanalp - Legatech GmbH <fabian@legate=
ch.ch> wrote:
>=20
> =EF=BB=BFHi
>=20
> Since we updated the Port to 20200514_1 we can't create milestones anymore=
 with the following information... Is there anything known about that proble=
m or should we place a bugreport at phabricator?
>=20
> Reproducible case (on our phab-test):
>=20
> 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":"=3D Spri=
nt 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 getPHI=
D() on null at [<phabricator>/src/applications/project/editor/PhabricatorPro=
jectTransactionEditor.php:358]
>=20

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/d203a1004c7509109fccdf526e=
9941b89eeef662/src/applications/project/editor/PhabricatorProjectTransaction=
Editor.php#L349

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43F0A9E9-0930-424F-A98C-741F18517AE6>