Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15426117
D15206.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
D15206.diff
View Options
diff --git a/src/applications/project/editor/PhabricatorProjectTransactionEditor.php b/src/applications/project/editor/PhabricatorProjectTransactionEditor.php
--- a/src/applications/project/editor/PhabricatorProjectTransactionEditor.php
+++ b/src/applications/project/editor/PhabricatorProjectTransactionEditor.php
@@ -631,6 +631,7 @@
}
break;
case PhabricatorProjectTransaction::TYPE_PARENT:
+ case PhabricatorProjectTransaction::TYPE_MILESTONE:
$materialize = true;
$new_parent = $object->getParentProject();
break;
@@ -669,6 +670,11 @@
->rematerialize($object);
}
+ if ($new_parent) {
+ id(new PhabricatorProjectsMembershipIndexEngineExtension())
+ ->rematerialize($new_parent);
+ }
+
return parent::applyFinalEffects($object, $xactions);
}
diff --git a/src/applications/project/engine/PhabricatorBoardLayoutEngine.php b/src/applications/project/engine/PhabricatorBoardLayoutEngine.php
--- a/src/applications/project/engine/PhabricatorBoardLayoutEngine.php
+++ b/src/applications/project/engine/PhabricatorBoardLayoutEngine.php
@@ -435,7 +435,7 @@
// If we have proxies, we need to force cards into the correct proxy
// columns.
- if ($proxy_map) {
+ if ($proxy_map && $object_phids) {
$edge_query = id(new PhabricatorEdgeQuery())
->withSourcePHIDs($object_phids)
->withEdgeTypes(
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Mar 24, 7:15 AM (2 w, 14 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7480350
Default Alt Text
D15206.diff (1 KB)
Attached To
Mode
D15206: Fix an issue with viewing an empty board with milestone columns
Attached
Detach File
Event Timeline
Log In to Comment