Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15379902
D19082.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
D19082.diff
View Options
diff --git a/src/applications/differential/engineextension/DifferentialMailEngineExtension.php b/src/applications/differential/engineextension/DifferentialMailEngineExtension.php
--- a/src/applications/differential/engineextension/DifferentialMailEngineExtension.php
+++ b/src/applications/differential/engineextension/DifferentialMailEngineExtension.php
@@ -53,7 +53,7 @@
} else {
$reviewers[] = $reviewer_phid;
if ($reviewer->isBlocking()) {
- $reviewers[] = $blocking;
+ $blocking[] = $reviewer_phid;
}
}
}
diff --git a/src/applications/metamta/stamp/PhabricatorPHIDMailStamp.php b/src/applications/metamta/stamp/PhabricatorPHIDMailStamp.php
--- a/src/applications/metamta/stamp/PhabricatorPHIDMailStamp.php
+++ b/src/applications/metamta/stamp/PhabricatorPHIDMailStamp.php
@@ -15,6 +15,15 @@
return null;
}
+ // TODO: This recovers from a bug where blocking reviewers were serialized
+ // incorrectly into the flat mail stamp list in the worker queue as arrays.
+ // It can be removed some time after February 2018.
+ foreach ($value as $key => $v) {
+ if (is_array($v)) {
+ unset($value[$key]);
+ }
+ }
+
$viewer = $this->getViewer();
$handles = $viewer->loadHandles($value);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Mar 15, 12:08 AM (3 w, 1 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7677374
Default Alt Text
D19082.diff (1 KB)
Attached To
Mode
D19082: Fix a mail stamp issue with blocking reviewers
Attached
Detach File
Event Timeline
Log In to Comment