javascriptcoldfusioncfml

Can ColdFusion 2023 settings interfere with JavaScript?


I'm at a total loss here.

I was tasked with upgrading ColdFusion 2018 Standard to ColdFusion 2023 Enterprise. I have the website update and running, but I'm running into an absolutely bizarre issue.

After upgrading to ColdFusion 2023, it appears that some of the JavaScript is not functioning properly. For example, I am retrieving some JSON from a ColdFusion component. In the browser developer tools, I can see the JSON string being returned. Prior to the upgrade, the JS component that renders the JSON into a tree now no longer displays anything.

I don't see any console errors. There aren't any ColdFusion errors. Nothing.

If anyone has any insight, I would appreciate it.


Solution

  • I resolved the issue.

    I was testing the ColdFusion 2023 migration using a development site. I knew about the "Preserve case for Struct keys for Serialization" configuration option, and it was checked. Checking and unchecking this options appeared to have no effect. After I finished testing, I left this option unchecked.

    I performed this testing before running through all of the ColdFusion 2023 hotfix/patches.

    After running through this patching process and testing the settings again, everything worked as expected. The possibility remains that either I messed up because it was the end of the day and I was tired, or the patching fixed an issue.