View Issue Details

IDProjectCategoryView StatusLast Update
0009606mantisbtcustom fieldspublic2009-04-20 09:49
Reporterjonathh Assigned Tothraxisp  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformFirfoxOSWindowsOS VersionXP
Product Version1.1.2 
Fixed in Version1.1.7 
Summary0009606: Custom fields not enforced.
Description

I created a custom field with a type of numeric, but it allows me to enter a string or anything i'd like.

Is this a bug? Surely the only reason to ask what the custom type is, is if it is going to be enforced?

Also i am requiring this field to be visable only on the 'resolved' screen. It is a fixed @ revision field.

Thank you!

Steps To Reproduce

Create a custom field of type x, enter a bug with details of type !x

TagsNo tags attached.

Relationships

has duplicate 0009816 closedthraxisp Custom fields not enforced. 
has duplicate 0010112 closedthraxisp Custom date field is never saved 
related to 0010472 closeddregad Custom fields are missing separators 

Activities

jonathh

jonathh

2008-09-05 05:43

reporter   ~0019314

As an extra note to this. Even though my custom field is set to 'Required On Resolve ' and 'Display When Resolving Issues ' ONLY

If i set a minimum field length of 1 i can not add any new faults. The reason i guess is that the field isn't present on that screen but there is a check that it has a minimum field length anyway which fails. just FYI

jonathh

jonathh

2008-09-08 05:58

reporter   ~0019331

As i continue my investigation of this fault. I tried a radio button custom field for 'kicks' appart from having some sticky issues with 'security tokens and did i submit it twice' it seems to require a radio button be checked - which is good. But the min and max field length broke it if you populated it. Perhaps these options should be set to null and hidden if you select radio..

jonathh

jonathh

2009-01-16 04:49

reporter   ~0020634

Hey, can anyone tell me if this is still an issue? It strikes me that being able to make mandatory fields.. mandatory is quite important? My company is really close to adopting this but I am fighting an up hill struggling against OSS and saying 'oh yeah that bit doesnt work' is just going to cause it to stall...

Thanks.

thraxisp

thraxisp

2009-02-08 23:15

reporter   ~0020814

fixed in 1.1.x stream
http://git.mantisbt.org/?p=mantisbt.git;a=commit;h=eaeda7cb7b2b1118bd72838c397e3cf94e52ef61

fixed in 1.2.x
http://git.mantisbt.org/?p=mantisbt.git;a=commit;h=3af855558f5abd668a7521649dd5bac36f5fb6e1

Related Changesets

MantisBT: master 3af85555

2009-02-08 21:06

thraxisp


Details Diff
fix for bug 0009606: Custom fields not enforced. Affected Issues
0009606
mod - core/custom_field_api.php Diff File
mod - lang/strings_english.txt Diff File
mod - core/cfdefs/cfdef_standard.php Diff File

MantisBT: master-1.1.x eaeda7cb

2009-02-08 22:50

thraxisp


Details Diff
fix for bug 0009606: Custom fields not enforced. Affected Issues
0009606
mod - core/custom_field_api.php Diff File