Page MenuHomePhabricator

Fix a Harbormaster build issue with new URI code
ClosedPublic

Authored by epriestley on May 4 2016, 11:30 PM.
Tags
None
Referenced Files
F15538103: D15844.diff
Thu, Apr 24, 5:25 PM
F15524660: D15844.diff
Mon, Apr 21, 9:36 AM
F15466963: D15844.id.diff
Thu, Apr 3, 11:15 AM
F15443680: D15844.id38171.diff
Thu, Mar 27, 5:39 AM
F15438911: D15844.id38170.diff
Wed, Mar 26, 4:36 AM
F15437826: D15844.id.diff
Tue, Mar 25, 9:43 PM
F15434099: D15844.diff
Mar 25 2025, 1:57 AM
F15389572: D15844.id.diff
Mar 15 2025, 5:27 AM
Subscribers
None

Details

Summary

Ref T10748. We're returning a PhabricatorRepositoryURI here but the code expects an actual PhutilURI.

Test Plan

This should clear this up in production:

Daemon 180278 STDE [Wed, 04 May 2016 23:25:16 +0000] [2016-05-04 23:25:16] EXCEPTION: (PhutilProxyException) Error while executing Task ID 1677075. {>} (RuntimeException) Object of class PhabricatorRepositoryURI could not be converted to string at [<phutil>/src/error/PhutilErrorHandler.php:205]
Daemon 180278 STDE [Wed, 04 May 2016 23:25:16 +0000] arcanist(head=master, ref.master=c58f1b9a2507), libcore(), phabricator(head=master, ref.master=29d1115037b8), phutil(head=master, ref.master=0709cd5cfc26), services(head=master, ref.master=04ae8c8f8e3b)
Daemon 180278 STDE [Wed, 04 May 2016 23:25:16 +0000]   #0 <#2> PhutilErrorHandler::handleError(integer, string, string, integer, array) called at [<phabricator>/src/applications/repository/storage/PhabricatorRepository.php:1200]
Daemon 180278 STDE [Wed, 04 May 2016 23:25:16 +0000]   #1 <#2> PhabricatorRepository::getPublicCloneURI() called at [<phabricator>/src/applications/repository/storage/PhabricatorRepositoryCommit.php:395]

Diff Detail

Repository
rP Phabricator
Branch
repo29
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 12046
Build 15167: Run Core Tests
Build 15166: arc lint + arc unit

Event Timeline

epriestley retitled this revision from to Fix a Harbormaster build issue with new URI code.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad edited edge metadata.
This revision is now accepted and ready to land.May 4 2016, 11:43 PM
This revision was automatically updated to reflect the committed changes.

This appears to have worked correctly.