Page MenuHomePhabricator

Freeze "maniphest.gettasktransactions" and make status/priority transactions more consistent
ClosedPublic

Authored by epriestley on Nov 22 2017, 2:15 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 25, 2:20 AM
Unknown Object (File)
Thu, Nov 21, 3:41 PM
Unknown Object (File)
Sat, Nov 16, 6:35 PM
Unknown Object (File)
Sat, Nov 9, 11:47 PM
Unknown Object (File)
Sat, Nov 9, 8:22 PM
Unknown Object (File)
Sat, Nov 9, 8:18 PM
Unknown Object (File)
Sat, Nov 9, 5:53 PM
Unknown Object (File)
Sat, Nov 9, 4:10 PM
Subscribers
None

Details

Summary

Ref T13020. See PHI221.

Freeze legacy method maniphest.gettasktransactions in favor of modern method transaction.search.

Remove legacy "null on create" behavior from Maniphest status and priority transactions. This behavior is obsolete with EditEngine, and leads to inconsistent transaction sets in the transaction record.

The desired behavior is that transactions which don't do anything (e.g., default value was not changed) don't appear in the transaction log.

Test Plan
  • Viewed API UI and saw maniphest.gettasktransactions marked as "Frozen".
  • Created a new task via web UI (without changing status/priority), queried transactions with maniphest.gettasktransacitons/transaction.search, no longer saw "null on create" no-op transactions in record.
    • Web UI is unchanged, since these transactions were hidden before and now do not exist.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable