Page MenuHomePhabricator

D16237.id39057.diff
No OneTemporary

D16237.id39057.diff

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

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)

Event Timeline