Page MenuHomePhabricator

Fix no-op transaction error on `paste.create` Conduit API method
ClosedPublic

Authored by epriestley on Nov 8 2015, 1:24 PM.
Tags
None
Referenced Files
F13286430: D14440.diff
Tue, Jun 4, 7:13 AM
F13257547: D14440.id.diff
Sun, May 26, 2:24 AM
F13253735: D14440.diff
Sat, May 25, 2:53 AM
F13232520: D14440.diff
Tue, May 21, 1:20 AM
F13213441: D14440.diff
Fri, May 17, 7:46 AM
F13213392: D14440.id34899.diff
Fri, May 17, 7:42 AM
Unknown Object (File)
Tue, May 7, 7:01 AM
Unknown Object (File)
May 3 2024, 6:02 PM
Subscribers
None

Details

Summary

Fixes T9735. I changed how the TYPE_LANGUAGE transction works a little but that accidentally tripped an error condition in paste.create.

  • Don't bail on no-effect transactions to paste.create (like not setting a language).
  • When a transaction type has no tailored UI message, make it easier to figure out which transaction is problematic.
Test Plan

Ran arc paste ... locally. Got an error before the patch, clean paste creation afterward.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Fix no-op transaction error on `paste.create` Conduit API method.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad edited edge metadata.
This revision is now accepted and ready to land.Nov 8 2015, 3:03 PM
This revision was automatically updated to reflect the committed changes.