From owner-freebsd-ports@freebsd.org Tue Jul 21 17:16:43 2020 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7780D362827 for ; Tue, 21 Jul 2020 17:16:43 +0000 (UTC) (envelope-from freebsd@grem.de) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4BB4yM1F23z3gwt for ; Tue, 21 Jul 2020 17:16:43 +0000 (UTC) (envelope-from freebsd@grem.de) Received: by mailman.nyi.freebsd.org (Postfix) id 2A83A362826; Tue, 21 Jul 2020 17:16:43 +0000 (UTC) Delivered-To: ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2A4C036261C for ; Tue, 21 Jul 2020 17:16:43 +0000 (UTC) (envelope-from freebsd@grem.de) Received: from mail.evolve.de (mail.evolve.de [213.239.217.29]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (Client CN "mail.evolve.de", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BB4yL1kSNz3gv3 for ; Tue, 21 Jul 2020 17:16:41 +0000 (UTC) (envelope-from freebsd@grem.de) Received: by mail.evolve.de (OpenSMTPD) with ESMTP id 0c51ce1b; Tue, 21 Jul 2020 17:16:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=grem.de; h=date:from:to:cc :subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=20180501; bh=xEous4Aj gJJGgQFaYuaCo5XJU+Y=; b=CnfGyfWY3tBVM0qNCcqlWUjaeKcRJmln2hB0rhbW SVHZu17ytv0KoDYPNiQH6LYftaOAAAD6jiO2jG1qvn6Gb3Cvp9IRM7QnfHrvuB85 922ivI1Zh9JvUMI6qeHlRNtKTabu4PD5FJ83JG27hn294dZFzmdWMU0xM4cMuInm jEq9VOUjCIwBJ9M7IGY3iYj3yKZXaQb+Ajz2kkUi/Gue0EQWhs3RRlKkEFNV9Xd5 aMxW2LOMVGr2IbYp4BmqANg5aBtNuMRf1vZaNGGzpHL+N/Hkt7MN7PrYyZU6By2S /gqfanqI0o/gprjBv3CqNcc9TB4d5qR83SyaYm1ORW56oA== DomainKey-Signature: a=rsa-sha1; c=nofws; d=grem.de; h=date:from:to:cc :subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; q=dns; s=20180501; b=RC eeWHaOdw92YgXkUQ49e0Fv+2GOaq3bN6qDvj2ZJ2Kv/r0kuQOig/zqgKQS1M4V9l OqqoYaWNnZf5jAOrAlfADO0Pz1Ro7mJ5H07m7vRrZzaXQXy2OaMvlwpJLHhPhnS3 beoGArq+AEu5oDDAVVdhm0uxCb9H3ouIIDPl6FtbxwYElQ0/gT9D2Gk51gOvwfcL q3GOwmFvn/1IR0c0M6/tV5IYSbwK2bgLI+AN1C590dS889ANySR2+lDgq5ZKzJ3t bRFz8f/zdlU4/LZgQFTBFsTQT+/TW3RQQW85rllsW6Pnz/FJ9mRjsVlO1vmYesAs kn+Bqa6+wBVmp9YnxITA== Received: by mail.evolve.de (OpenSMTPD) with ESMTPSA id 0f8b4e91 (TLSv1.2:ECDHE-RSA-CHACHA20-POLY1305:256:NO); Tue, 21 Jul 2020 17:16:33 +0000 (UTC) Date: Tue, 21 Jul 2020 19:16:07 +0200 From: Michael Gmelin To: Fabian Abplanalp - Legatech GmbH Cc: "ports@freebsd.org" Subject: Re: FreeBSD Port: phabricator-php73-20200514_1 Message-ID: <20200721191607.06148356@bsd64.grem.de> In-Reply-To: <43F0A9E9-0930-424F-A98C-741F18517AE6@grem.de> References: <43F0A9E9-0930-424F-A98C-741F18517AE6@grem.de> X-Face: $wrgCtfdVw_H9WAY?S&9+/F"!41z'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TF-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4BB4yL1kSNz3gv3 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=grem.de header.s=20180501 header.b=CnfGyfWY; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd@grem.de designates 213.239.217.29 as permitted sender) smtp.mailfrom=freebsd@grem.de X-Spamd-Result: default: False [-2.48 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[grem.de:s=20180501]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:213.239.217.29/32]; NEURAL_HAM_LONG(-1.04)[-1.039]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[grem.de]; NEURAL_HAM_MEDIUM(-1.02)[-1.021]; NEURAL_SPAM_SHORT(0.08)[0.083]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[grem.de:+]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:213.239.192.0/18, country:DE]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jul 2020 17:16:43 -0000 On Tue, 16 Jun 2020 10:39:30 +0200 Michael Gmelin wrote: > > On 16. Jun 2020, at 08:41, Fabian Abplanalp - Legatech GmbH > > 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 problem 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 > > 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 > > [/src/applications/project/editor/PhabricatorProjectTransa= ctionEditor.php:358]=20 >=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). >=20 > The ticket referenced in the code can be found here[1]. >=20 > Best, > Michael >=20 > [0] > https://github.com/phacility/phabricator/blob/d203a1004c7509109fccdf526e9= 941b89eeef662/src/applications/project/editor/PhabricatorProjectTransaction= Editor.php#L349 >=20 > [1] https://secure.phabricator.com/T13462 >=20 Hi Fabian, I could reproduce the problem locally and found a fix: https://github.com/grembo/phabricator/commit/0851b89eb6633dd792cd4eb10c26f8= 6c2f0da56a I also reported it upstream (where there was already a six month old, unsolved report of that specific problem): https://discourse.phabricator-community.org/t/call-to-a-member-function-get= phid-on-a-non-object-while-creating-milestone-using-conduit/3370/4 I already incorporated it as a patch into the port, so phabricator-php73-20200514_2 will solve this problem for you. The new version is committed and should be available over portsnap for source builds shortly and as a binary package to be used with pkg within the next couple of days. Cheers, Michael --=20 Michael Gmelin