Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14396343
D21662.id51554.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
442 B
Referenced Files
None
Subscribers
None
D21662.id51554.diff
View Options
diff --git a/src/applications/phid/PhabricatorObjectHandle.php b/src/applications/phid/PhabricatorObjectHandle.php
--- a/src/applications/phid/PhabricatorObjectHandle.php
+++ b/src/applications/phid/PhabricatorObjectHandle.php
@@ -402,6 +402,10 @@
}
public function hasCapabilities() {
+ if (!$this->isComplete()) {
+ return false;
+ }
+
return ($this->getType() === PhabricatorPeopleUserPHIDType::TYPECONST);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Dec 23, 7:19 AM (12 h, 9 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6920838
Default Alt Text
D21662.id51554.diff (442 B)
Attached To
Mode
D21662: Don't attempt to test capabilities on incomplete handles
Attached
Detach File
Event Timeline
Log In to Comment