allowed values for numeric custom field

LATEST Official version.
Questions and discussions - NO ISSUES
FOR ISSUES => http://mantis.testlink.org

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
backupbetter
TestLink user
Posts: 4
Joined: Thu Dec 02, 2010 9:36 am

allowed values for numeric custom field

Post by backupbetter »

TL 1.9.3

on previous version we use TL 1.7.4, the custom field type "numeric" allowed us to enter the value eg "1.2.3.4" however in TL 1.9.3 it will only accept the value "1234" without the "."s. was there a change in the allowed value for this custom field type?

thanks!
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Re: allowed values for numeric custom field

Post by fman »

1.2.3.4 is not a numeric value => if 1.7.4 accepted it was an bug.
IMHO instead of breaking new checks change type to string.
if in anyway you want to change this you need to look for the Javascript validation functions normally present on
gui/javascript/
backupbetter
TestLink user
Posts: 4
Joined: Thu Dec 02, 2010 9:36 am

Re: allowed values for numeric custom field

Post by backupbetter »

thanks fman!

i've implemented the CF as a string.
Post Reply