Page MenuHomePhabricator

Fix Phriction status not set property on new document
ClosedPublic

Authored by chad on May 19 2017, 4:25 PM.
Tags
None
Referenced Files
F18856468: D17960.id.diff
Sat, Nov 1, 9:53 AM
F18854674: D17960.id.diff
Sat, Nov 1, 12:26 AM
F18854354: D17960.diff
Fri, Oct 31, 11:36 PM
F18733597: D17960.diff
Sep 30 2025, 10:37 PM
F18725945: D17960.diff
Sep 30 2025, 6:04 AM
F18697556: D17960.id.diff
Sep 27 2025, 9:47 AM
F18651216: D17960.id43200.diff
Sep 21 2025, 3:31 AM
F18636118: D17960.id43200.diff
Sep 17 2025, 3:32 AM
Subscribers

Details

Summary

I deleted too many lines of code here and TYPE_MOVE was always being applied when CONTENT was set. This should fix on next document save, but should I write some migration tool anyways?

Test Plan

Create a new document, see document with correct status.

Diff Detail

Repository
rP Phabricator
Branch
phriction-title-transaction (branched from master)
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 17107
Build 22886: Run Core Tests
Build 22885: arc lint + arc unit

Event Timeline

src/applications/phriction/xaction/PhrictionDocumentTitleTransaction.php
17–19

Seems to work in either place, but this was missed during conversion.

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