HomePhorge

Fix handling of implicit comment transaction in paste creation

Description

Fix handling of implicit comment transaction in paste creation

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.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T9850

Differential Revision: https://secure.phabricator.com/D14571

Details

Provenance
epriestleyAuthored on Nov 25 2015, 8:21 AM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rPc4ea1e6e21d1: Increase the maximum size eligible for image transforms configurable from 4MB…
Branches
Unknown
Tags
Unknown

Event Timeline