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
F22816828: D14440.id.diff
Sat, Oct 10, 3:22 AM
F22634504: D14440.id.diff
Wed, Sep 30, 5:15 AM
F22573953: D14440.id34893.diff
Sun, Sep 27, 4:00 AM
Unknown Object (File)
Sep 3 2026, 11:06 PM
Unknown Object (File)
Sep 3 2026, 10:55 PM
Unknown Object (File)
Aug 22 2026, 5:03 AM
Unknown Object (File)
Jul 4 2026, 10:22 AM
Unknown Object (File)
Mar 28 2026, 2:54 AM
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
Branch
paste1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 8702
Build 10101: Run Core Tests
Build 10100: arc lint + arc unit

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.