Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2932470
D25709.1737736124.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
1 KB
Referenced Files
None
Subscribers
None
D25709.1737736124.diff
View Options
diff --git a/src/applications/conpherence/controller/ConpherenceUpdateController.php b/src/applications/conpherence/controller/ConpherenceUpdateController.php
--- a/src/applications/conpherence/controller/ConpherenceUpdateController.php
+++ b/src/applications/conpherence/controller/ConpherenceUpdateController.php
@@ -79,6 +79,29 @@
$user,
$conpherence,
$message);
+
+ $text_metadata = $request->getStr('text_metadata');
+ if ($text_metadata) {
+ $text_metadata = phutil_json_decode($text_metadata);
+ if (
+ isset($text_metadata['attachedFilePHIDs']) &&
+ is_array($text_metadata['attachedFilePHIDs'])
+ ) {
+ $attached_file_phids = idx($text_metadata,
+ 'attachedFilePHIDs',
+ array());
+ if ($attached_file_phids) {
+ $metadata_object = array(
+ 'remarkup.control' => array(
+ 'attachedFilePHIDs' => $attached_file_phids,
+ ),
+ );
+
+ $xactions[0]->setMetadata($metadata_object);
+ }
+ }
+ }
+
$delete_draft = true;
} else {
$action = ConpherenceUpdateActions::LOAD;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jan 24, 16:28 (1 w, 5 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1140840
Default Alt Text
D25709.1737736124.diff (1 KB)
Attached To
Mode
D25709: Fix missing file attachment in Conpherence
Attached
Detach File
Event Timeline
Log In to Comment