Defect #8317
Strip whitespace from integer custom field
Status: | Closed | Start date: | 2011-05-06 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | % Done: | 0% | ||
Category: | Custom fields | |||
Target version: | 3.3.9 | |||
Resolution: | Fixed | Affected version: |
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)
Related issues
History
#1
Updated by Thomas Kohler almost 8 years ago
In my opinion this is more an feature request than an defect because the field work like expected.
#2
Updated by Go MAEDA almost 4 years ago
- File 8317-strip-spaces-int-cf.diff
added
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.
#3
Updated by Go MAEDA almost 4 years ago
- Related to Defect #9588: Text fields used for data entry should trim whitespace. added
#4
Updated by Go MAEDA about 2 years ago
- Target version set to 4.0.0
#5
Updated by Go MAEDA about 2 years ago
- Target version changed from 4.0.0 to 4.1.0
#6
Updated by Go MAEDA about 2 years ago
- 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
Committed.
#7
Updated by Go MAEDA about 2 years ago
- Status changed from Resolved to Closed
Committed to the stable branches.