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
F15496944: D14440.id34893.diff
Sun, Apr 13, 8:55 AM
F15484983: D14440.diff
Wed, Apr 9, 9:11 PM
F15476399: D14440.id34893.diff
Mon, Apr 7, 6:00 AM
F15459630: D14440.id.diff
Mon, Mar 31, 2:47 PM
F15442647: D14440.id34893.diff
Wed, Mar 26, 11:53 PM
F15421867: D14440.id.diff
Sat, Mar 22, 2:50 AM
F15397448: D14440.id.diff
Mar 16 2025, 8:15 PM
F15385162: D14440.id34899.diff
Mar 14 2025, 9:53 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.