Page MenuHomePhabricator

D17807.diff
No OneTemporary

D17807.diff

diff --git a/src/applications/project/phid/PhabricatorProjectProjectPHIDType.php b/src/applications/project/phid/PhabricatorProjectProjectPHIDType.php
--- a/src/applications/project/phid/PhabricatorProjectProjectPHIDType.php
+++ b/src/applications/project/phid/PhabricatorProjectProjectPHIDType.php
@@ -47,6 +47,10 @@
$handle->setObjectName('#'.$slug);
$handle->setURI("/tag/{$slug}/");
} else {
+ // We set the name to the project's PHID to avoid a parse error when a
+ // project has no hashtag (as is the case with milestones by default).
+ // See T12659 for more details
+ $handle->setCommandLineObjectName($project->getPHID());
$handle->setURI("/project/view/{$id}/");
}

File Metadata

Mime Type
text/plain
Expires
Wed, Mar 5, 11:51 PM (5 d, 17 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7227979
Default Alt Text
D17807.diff (748 B)

Event Timeline