I just noticed recently on my site that my AJAX functions were no longer working. After pulling my hair out tracing through JS and even switching libraries I finally figured out that Lucee is no longer acting the same way. I had to revert back down to version 184.108.40.206 in order to get my original functionality to work.
Here is the issue as best I can tell.
Example code called from AJAX call:
<cfsilent> <cfset result.state = "1" /> <cfset result.county = "2" /> <cfset result.zip = "3" /> <cfwddx action="CFML2JS" input="#result#" toplevelvariable="r" /> <cfabort> </cfsilent>
In version 220.127.116.11 this will output the following data if you load the URL directly
this will return in the AJAX call, etc. etc.
Any version past 18.104.22.168 returns nothing and the call back functions fail because objects aren’t defined.
Anybody have any ideas? Am I doing something wrong that no longer works or is this a bug introduced in 5.3. Welcome any feedback