Project

General

Profile

Actions

Defect #8317

closed

Strip whitespace from integer custom field

Defect #8317: Strip whitespace from integer custom field

Added by Gerry Hawkins over 15 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Custom fields
Target version:
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)


Files

8317-strip-spaces-int-cf.diff (1.34 KB) 8317-strip-spaces-int-cf.diff Go MAEDA, 2017-04-15 05:45

Related issues 1 (1 open — 0 closed)

Related to Redmine - Defect #9588: Text fields used for data entry should trim whitespace.NewActions

Updated by Thomas Kohler almost 14 years ago Actions #1

In my opinion this is more an feature request than an defect because the field work like expected.

Updated by Go MAEDA over 9 years ago Actions #2

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.

Updated by Go MAEDA over 9 years ago Actions #3

  • Related to Defect #9588: Text fields used for data entry should trim whitespace. added

Updated by Go MAEDA about 8 years ago Actions #4

  • Target version set to 4.0.0

Updated by Go MAEDA about 8 years ago Actions #5

  • Target version changed from 4.0.0 to 4.1.0

Updated by Go MAEDA about 8 years ago Actions #6

  • 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.

Updated by Go MAEDA about 8 years ago Actions #7

  • Status changed from Resolved to Closed

Committed to the stable branches.

Actions

Also available in: PDF Atom