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
F13244402: D17918.diff
Thu, May 23, 4:47 AM
F13222845: D17918.diff
Sun, May 19, 4:02 AM
F13218310: D17918.diff
Sat, May 18, 11:42 AM
F13217205: D17918.id43104.diff
Sat, May 18, 3:54 AM
F13202647: D17918.diff
Tue, May 14, 10:57 PM
F13174355: D17918.id43104.diff
Tue, May 7, 10:54 PM
Unknown Object (File)
Sun, May 5, 5:47 PM
Unknown Object (File)
Apr 25 2024, 2:52 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.