A new technote has been released for this issue.
============================================
Javascript error when using CFTextArea with CFAjaxProxy binding (ColdFusion 8.0)
Issue
Javascript functions break if a new line character (\n) is entered in a cftextarea and the error "unterminated string constant" is displayed.
Reason
New line characters (\n) were not escaped by cfajaxproxy.
Solution
Replace /CFIDE/scripts/ajax/package/cfajax.js with an updated version.
- Rename CFIDE/scripts/ajax/package/cfajax.js to cfajax.orig
- Download 70459.zip and unzip cfajax.js to /CFIDE/scripts/ajax/package/.
You should have an updated CFIDE/scripts/ajax/package/cfajax.js and cfajax.orig in the same directory. Cfajax.orig may be deleted once you have tested the updated file.
TechNote Details
| Last Update: | 05-01-2008 |
| ID: | kb402688 |
| Permanent Link: | http://www.adobe.com/go/kb402688 |
1 comments:
I have added a cftextarea to a form that is populated by a database field. Since adding that, when I test the form, the data from the table is shown properly. If I update the cftextarea and submit the change I get an error of File Not Found and shows the path of the expected file which is actually there. I'm stumped.
Post a Comment