View Full Version : CFWINDOW CF 9.0.1 - There was an error while validation.

January 23rd, 2012, 01:20 PM
When using the cfwindow tag an error is thrown:

There was an error while validation.
For more details check logs.

The stack trace will include:

coldfusion.security.ESAPIUtils$ValidationUtilExcep tion: There was an error while validation.

Research & Resolution:

Details on this error can be found in: {cfroot}/logs/esapi.log

If you receive the following error in the log, make sure your TITLE tag in the cfwindow tag meets the required regex expression.

CFContainerID: Invalid input. Please conform to regex ^[\p{Alnum}_\-\.:]+$ with a maximum length of 100

This new validation was include as part of the APSB11-14 (http://kb2.adobe.com/cps/907/cpsid_90784.html#main_ColdFusion%209.0.1)

September 20th, 2013, 09:52 AM
Based on the regular expression added by the security update, the following characters are allowed for the name attribute of the cfwindow tag:
- Letters (a through z and A through Z)
- Numbers (0 through 9)
- Underscore (_)
- Dash (-)
- Period (.)
- Colon (:)

Most notably, spaces are not included. Any characters that are not included above must be removed/replaced to avoid the error.