Page MenuHomePhabricator

Fix an issue in Phriction where moving a document just copied it instead
ClosedPublic

Authored by epriestley on May 19 2017, 7:44 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Apr 17, 2:51 PM
Unknown Object (File)
Sat, Mar 30, 2:58 AM
Unknown Object (File)
Wed, Mar 27, 8:45 PM
Unknown Object (File)
Tue, Mar 26, 9:16 AM
Unknown Object (File)
Feb 20 2024, 1:53 PM
Unknown Object (File)
Feb 15 2024, 12:49 PM
Unknown Object (File)
Feb 8 2024, 5:04 PM
Unknown Object (File)
Dec 15 2023, 10:42 AM
Subscribers
None

Details

Summary

Ref T12732. See D17918. With modular transactions, getCustomTransactionNewValue() isn't actually called.

Test Plan

Moved document /x/ to /y/, saw document gone at /x/ instead of copied.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

src/applications/phriction/xaction/PhrictionDocumentMoveToTransaction.php
25

$value is an array, and this got overwritten below anyway...

31

...it got overwritten here.

This revision is now accepted and ready to land.May 19 2017, 7:56 PM
This revision was automatically updated to reflect the committed changes.