Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15384157
D8837.id20971.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
743 B
Referenced Files
None
Subscribers
None
D8837.id20971.diff
View Options
diff --git a/resources/sql/patches/20131004.dxreviewers.php b/resources/sql/patches/20131004.dxreviewers.php
--- a/resources/sql/patches/20131004.dxreviewers.php
+++ b/resources/sql/patches/20131004.dxreviewers.php
@@ -29,6 +29,13 @@
->setActor(PhabricatorUser::getOmnipotentUser());
foreach ($reviewer_phids as $dst) {
+ if (phid_get_type($dst) == PhabricatorPHIDConstants::PHID_TYPE_UNKNOWN) {
+ // At least one old install ran into some issues here. Skip the row if we
+ // can't figure out what the destination PHID is. See here:
+ // https://github.com/facebook/phabricator/pull/507
+ continue;
+ }
+
$editor->addEdge(
$revision_phid,
PhabricatorEdgeConfig::TYPE_DREV_HAS_REVIEWER,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Mar 15, 6:59 PM (3 w, 4 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7586904
Default Alt Text
D8837.id20971.diff (743 B)
Attached To
Mode
D8837: Make an old migration a little more robust
Attached
Detach File
Event Timeline
Log In to Comment