Defect #8317
closed
Strip whitespace from integer custom field
Added by Gerry Hawkins over 13 years ago.
Updated about 6 years ago.
Description
In my custom field, which is an integer, if I enter "123 " it complains.
Can this be modified to strip trailing, and maybe leading?, white space?
I haven't testing the fields, like float, but suspect theymight have this issue as well.
(using 1.0.4 waiting for 1.2.0)
Files
In my opinion this is more an feature request than an defect because the field work like expected.
I wrote a patch to fix this issue.
Float custom fields allow leading and trailing spaces. Integer custom fields should also behave in the same way for consistency.
- Related to Defect #9588: Text fields used for data entry should trim whitespace. added
- Target version set to 4.0.0
- Target version changed from 4.0.0 to 4.1.0
- Subject changed from in integer custom fields white space is not stripped off the end to Strip whitespace from integer custom field
- Status changed from New to Resolved
- Assignee set to Go MAEDA
- Priority changed from Low to Normal
- Target version changed from 4.1.0 to 3.3.9
- Resolution set to Fixed
- Status changed from Resolved to Closed
Committed to the stable branches.
Also available in: Atom
PDF