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
F22670250: D17963.id43203.diff
Thu, Oct 1, 5:51 PM
F22670241: D17963.id43203.diff
Thu, Oct 1, 5:51 PM
F22614213: D17963.diff
Tue, Sep 29, 7:51 AM
Unknown Object (File)
Jul 2 2026, 7:30 PM
Unknown Object (File)
Jul 2 2026, 7:30 PM
Unknown Object (File)
Mar 3 2026, 9:56 PM
Unknown Object (File)
Dec 23 2025, 3:48 PM
Unknown Object (File)
Dec 22 2025, 2:42 PM
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.