Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14004361
D16237.id39057.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
687 B
Referenced Files
None
Subscribers
None
D16237.id39057.diff
View Options
diff --git a/src/applications/diffusion/editor/DiffusionURIEditor.php b/src/applications/diffusion/editor/DiffusionURIEditor.php
--- a/src/applications/diffusion/editor/DiffusionURIEditor.php
+++ b/src/applications/diffusion/editor/DiffusionURIEditor.php
@@ -77,6 +77,11 @@
$old_uri = $object->getEffectiveURI();
} else {
$old_uri = null;
+
+ // When creating a URI, we may not have processed the repository
+ // transaction yet. Attach the repository here to make sure we
+ // have it for the calls below.
+ $object->attachRepository($this->repository);
}
$object->setURI($xaction->getNewValue());
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Oct 27, 7:13 PM (3 w, 1 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6712928
Default Alt Text
D16237.id39057.diff (687 B)
Attached To
Mode
D16237: Make repository URI creation work regardless of "repository" transaction order
Attached
Detach File
Event Timeline
Log In to Comment