View Issue Details

IDProjectCategoryView StatusLast Update
0012029mantisbtcustom fieldspublic2014-09-23 18:05
ReporterKarlReichert Assigned Torombert  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version1.2.1 
Target Version1.2.9Fixed in Version1.2.9 
Summary0012029: minimum length of custom fields of type numeric is not checked
Description

When creating a custom field of type numeric and setting a minumum length of e.g. 2, one can enter the value '1' in this custom field and it's accepted by MantisBT.

Steps To Reproduce
  1. Create custom field of type numeric and set its minimum length to 2. Configure it to be displayed when reporting a new issue and attach it to one of your projects.
  2. Report a new issue for this project and enter the value '1' (without the ') in the field. It's accepted by Mantis and the newly created bug is stored.
Additional Information

Setting the maximum length e.g. to 5 works, i.e. one cannot enter more than 5 diggits in this field when reporting a new issue. So this bug is only about the minimum length feature.

TagsNo tags attached.

Relationships

related to 0015721 closedgrangeway Functionality to consider porting to master-2.0.x 
related to 0014516 closeddregad Custom field needs value when reporting following upgrade to 1.2.11 

Activities

KarlReichert

KarlReichert

2011-04-07 11:35

reporter   ~0028558

This issue is still open in current version 1.2.5
Please fix!

grangeway

grangeway

2013-04-05 17:57

reporter   ~0036245

Marking as 'acknowledged' not resolved/closed to track that change gets ported to master-2.0.x branch

Related Changesets

MantisBT: master dd286bf8

2011-12-07 06:45

rombert


Details Diff
Fix 0012029 : minimum length of custom fields of type numeric is not checked Affected Issues
0012029
mod - core/custom_field_api.php Diff File

MantisBT: master-1.2.x 9c71d4f8

2011-12-07 06:45

rombert


Details Diff
Fix 0012029 : minimum length of custom fields of type numeric is not checked Affected Issues
0012029
mod - core/custom_field_api.php Diff File