Page MenuHomePhabricator

Fix handling of implicit comment transaction in paste creation
ClosedPublic

Authored by epriestley on Nov 25 2015, 4:24 PM.
Tags
None
Referenced Files
F14062479: D14571.diff
Mon, Nov 18, 12:31 PM
F14046183: D14571.diff
Wed, Nov 13, 7:10 PM
F14036622: D14571.id.diff
Sun, Nov 10, 11:10 AM
F14033621: D14571.diff
Sat, Nov 9, 6:42 PM
F14029569: D14571.id35253.diff
Fri, Nov 8, 8:48 PM
F14029566: D14571.id.diff
Fri, Nov 8, 8:48 PM
F14029564: D14571.diff
Fri, Nov 8, 8:48 PM
F14029201: D14571.id35252.diff
Fri, Nov 8, 7:58 PM
Subscribers
None

Details

Summary

Fixes T9850. The getComment() test should be a hasComment() test, in order to discard empty comments.

Also backport a couple of future fixes which can get you into trouble if you reconfigure forms in awkward ways.

Test Plan

Created a new paste without a comment.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Fix handling of implicit comment transaction in paste creation.
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 25 2015, 4:24 PM
This revision was automatically updated to reflect the committed changes.