Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13177069
D8510.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D8510.diff
View Options
diff --git a/src/applications/differential/customfield/DifferentialCustomField.php b/src/applications/differential/customfield/DifferentialCustomField.php
--- a/src/applications/differential/customfield/DifferentialCustomField.php
+++ b/src/applications/differential/customfield/DifferentialCustomField.php
@@ -51,11 +51,15 @@
return array();
}
- protected function parseObjectList($value, array $types) {
+ protected function parseObjectList(
+ $value,
+ array $types,
+ $allow_partial = false) {
return id(new PhabricatorObjectListQuery())
->setViewer($this->getViewer())
->setAllowedTypes($types)
->setObjectList($value)
+ ->setAllowPartialResults($allow_partial)
->execute();
}
diff --git a/src/applications/differential/customfield/DifferentialReviewedByField.php b/src/applications/differential/customfield/DifferentialReviewedByField.php
--- a/src/applications/differential/customfield/DifferentialReviewedByField.php
+++ b/src/applications/differential/customfield/DifferentialReviewedByField.php
@@ -51,6 +51,16 @@
return true;
}
+ public function parseValueFromCommitMessage($value) {
+ return $this->parseObjectList(
+ $value,
+ array(
+ PhabricatorPeoplePHIDTypeUser::TYPECONST,
+ PhabricatorProjectPHIDTypeProject::TYPECONST,
+ ),
+ $allow_partial = true);
+ }
+
public function getRequiredHandlePHIDsForCommitMessage() {
return $this->getValue();
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, May 9, 7:07 PM (2 w, 6 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6275490
Default Alt Text
D8510.diff (1 KB)
Attached To
Mode
D8510: Fix parsing of "Reviewed By" field
Attached
Detach File
Event Timeline
Log In to Comment