We recently updated two customers with the latest security hotfix, Coldfusion 2021 Standard Update 2 and Coldfusion 2018 Update 12 Enterprise.
After applying the update portions of our code broke. We need to know if this is an unsupported feature, a deprecated feature, or a bug in each of the updates.
This code allows us to reference a value within a query using the underlying Java method IndexOf and prior to the updates, has worked correctly since Coldfusion 9.
Code: getCCRepairs["MAP_CustID"].IndexOf(JavaCast("string","#session.MAP_CustID#"))
:: getCCRepairs is a Query
:: object "MAP_CustID" is a column in the query object
:: #session.MAP_CustID# is a variable that contains the current value of MAP_CustID
Error: The IndexOf method was not found
I can confirm that this is related to each of the updates and previous versions/updates are not affected and work as expected.
Have any of you experienced this? Any thoughts?
I appreciate your help.