Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): duncan cumming / duncan cumming (duncancumming)
Created: 12/07/2012
Components: Documentation
Versions: 9.0.1
Failure Type:
Found In Build/Fixed In Build: 9.0.1 /
Priority/Frequency: Normal / All users will encounter
Locale/System: English / Windows 7
Vote Count: 1
Problem Description:
isValid documentation ( http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec22c24-7fb9.html#community) has 'maxlength' as one of the possible values for the 'type' attribute. However that doesn't work, and throws an error.
It's also unclear how any 'maxlength' type would work, as there's no documented means of passing the acceptable maxlength value. There is a 'max' attribute, but that only works with the 'range' type.
Steps to Reproduce:
isValid("maxlength", "foobar")
Actual Result:
Valid type arguments are: any, array, Boolean, date, numeric, query, string, struct, UUID, GUID, binary, integer, float, eurodate, time, creditcard, email, ssn, telephone, zipcode, url, regex, range , component, and variableName.
Expected Result:
??? Presumably a boolean value, but without specifying what the actual maxlength is meant to be, no idea how that would be decided.
Any Workarounds:
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3400761
External Customer Info:
External Company:
External Customer Name: duncancumming
External Customer Email:
External Test Config: My Hardware and Environment details:
Attachments:
Comments: