Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14078149
D17807.id42820.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
748 B
Referenced Files
None
Subscribers
None
D17807.id42820.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 23, 2:25 AM (16 h, 55 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6775865
Default Alt Text
D17807.id42820.diff (748 B)
Attached To
Mode
D17807: Set project's ObjectName to its PHID when it doesn't have a hashtag
Attached
Detach File
Event Timeline
Log In to Comment