View Issue Details

IDProjectCategoryView StatusLast Update
0005040mantisbtcustom fieldspublic2008-07-15 04:37
Reporterelros Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status acknowledgedResolutionopen 
Product Version0.19.2 
Summary0005040: non-required custom field zero length validation
Description

For custom string fields with a minimum length greater than zero that aren't required, a length of zero should not be considered invalid. In 0.19.2 even though I define these fields as not required, they actually are required because if you leave them blank (and the length is therefore zero), the minimum length validation fails.

TagsNo tags attached.

Relationships

child of 0004937 closedvboctor Mantis 1.0.0a1 Release 

Activities

guideweb

guideweb

2005-01-11 18:12

reporter   ~0008954

Last edited: 2005-01-11 18:16

if custom strings didint have a length of (0) they should have Min. Length

elros

elros

2005-01-11 18:29

reporter   ~0008955

In my case the non-required custom field is "Group ID", and Group IDs are always five characters long. I would like to set the minimum and maximum lengths to five, but I can't due to the Description above.

guideweb

guideweb

2005-01-11 19:22

reporter   ~0008960

Ok , it make sens

atomoid

atomoid

2005-08-25 18:01

reporter   ~0011296

I think this is probably the same bug i'm encountering. If i set the "min. length" value in the "manage_custom_field_edit_page.php" result to zero, then i do not get the following error anymore:
APPLICATION ERROR 0001303
Invalid value for field
Please use the "Back" button in your web browser to return to the previous