Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15412613
D21707.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
831 B
Referenced Files
None
Subscribers
None
D21707.diff
View Options
diff --git a/src/applications/metamta/query/PhabricatorMetaMTAMemberQuery.php b/src/applications/metamta/query/PhabricatorMetaMTAMemberQuery.php
--- a/src/applications/metamta/query/PhabricatorMetaMTAMemberQuery.php
+++ b/src/applications/metamta/query/PhabricatorMetaMTAMemberQuery.php
@@ -60,6 +60,16 @@
}
$package_map[$package->getPHID()] = $package_owners;
}
+
+ // See T13648. We may have packages that no longer exist or can't be
+ // loaded (for example, because they have been destroyed). Give them
+ // empty entries in the map so we return a mapping for all input PHIDs.
+
+ foreach ($package_phids as $package_phid) {
+ if (!isset($package_map[$package_phid])) {
+ $package_map[$package_phid] = array();
+ }
+ }
}
$results = array();
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Mar 20, 2:00 PM (1 d, 16 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7707261
Default Alt Text
D21707.diff (831 B)
Attached To
Mode
D21707: Resolve deleted packages properly as having no mailable members
Attached
Detach File
Event Timeline
Log In to Comment