Page MenuHomePhabricator

String-value statement: additional "\n" added to the string when hitting return for saving
Closed, ResolvedPublic

Description

If you're adding a statement of type string and you're hitting the return key for saving too fast (before the save-button gets enabled) you're accidentally adding a "\n" to the string-value (I guess because the input box in fact is a textarea). When trying to save afterwards you're getting a "malformed input" error from the validator because of the "\n".
The same issue can probably occur for URLs.


Version: unspecified
Severity: major
Whiteboard: u=dev c=frontend p=5 s=2014-04-01

Details

Reference
bz63301

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 2:59 AM
bzimport set Reference to bz63301.
bzimport added a subscriber: Unknown Object (MLST).

See also bug 45925. String trimming would fix the ill effects of this bug.

  • Bug 65786 has been marked as a duplicate of this bug. ***