Page MenuHomePhabricator

Move Phriction MOVE_TO transaction to Modular Transactions
ClosedPublic

Authored by chad on May 16 2017, 10:36 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 11, 10:18 AM
Unknown Object (File)
Fri, Apr 5, 9:32 AM
Unknown Object (File)
Fri, Apr 5, 7:33 AM
Unknown Object (File)
Fri, Apr 5, 7:12 AM
Unknown Object (File)
Fri, Apr 5, 4:21 AM
Unknown Object (File)
Fri, Apr 5, 3:57 AM
Unknown Object (File)
Fri, Apr 5, 3:57 AM
Unknown Object (File)
Fri, Apr 5, 3:28 AM
Subscribers

Details

Summary

Moves this transaction over to modular transactions.

Test Plan

Move a document, re-title a document, try to move over an existing document.

Diff Detail

Repository
rP Phabricator
Branch
phriction-move-to (branched from master)
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 17031
Build 22774: Run Core Tests
Build 22773: arc lint + arc unit

Event Timeline

Presumably this approach won't work with Conduit (since you can't pass a Document) but I don't think anything here puts us in a worse place than we were before.

(I'll try to go over this week's changes in more detail further in advance of the release cut so we have more time to fix anything I catch, since I really want to hit the release normally this week even though we're churning everything a lot.)

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

Prefer if ($e_text !== null) -- otherwise, a translator can translate one of these errors as '' or "0" and bypass these checks.

This revision is now accepted and ready to land.May 16 2017, 10:48 PM
This revision was automatically updated to reflect the committed changes.