tracker issue : CF-3629223

select a category, or use search below
(searches all categories and all time range)
Title:

param does not support REGEX, RANGE or MAXLENGTH

| View in Tracker

Status/Resolution/Reason: Closed/Deferred/EnhancementRequired

Reporter/Name(from Bugbase): Adam Cameron / Adam Cameron (Adam Cameron)

Created: 09/10/2013

Components: Language

Versions: 10.0

Failure Type:

Found In Build/Fixed In Build: Final /

Priority/Frequency: Major / Some users will encounter

Locale/System: English / Win All

Vote Count: 0

See http://cfmlblog.adamcameron.me/2013/09/way-to-make-me-feel-thick-sean-by.html

This should work (and does, on Railo):

param regex number pattern="[1-5]+";
param range number min=41 max=43;
param string chars maxlength=5;

It errors on CF

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3629223

Deployment Phase:	Release Candidate

External Customer Info:
External Company:  
External Customer Name: Adam Cameron.
External Customer Email:  
External Test Config: My Hardware and Environment details:

Attachments:

Comments:

Its realted to other cfparam bug where attributes list as key-value pair does not work.
Comment by Awdhesh K.
14564 | September 23, 2013 05:16:11 AM GMT