View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update | 
|---|---|---|---|---|---|
| 0005040 | mantisbt | custom fields | public | 2004-12-22 22:39 | 2008-07-15 04:37 | 
| Reporter | elros | Assigned To | |||
| Priority | normal | Severity | major | Reproducibility | always | 
| Status | acknowledged | Resolution | open | ||
| Product Version | 0.19.2 | ||||
| Summary | 0005040: 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.  | ||||
| Tags | No tags attached. | ||||
| 
	 if custom strings didint have a length of (0) they should have Min. Length  | 
|
| 
	 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.  | 
|
| 
	 Ok , it make sens  | 
|
| 
	 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:  | 
|