cachedWithin attribute no longer working on ColdFusion 11 Update 18| View in Tracker
Reporter/Name(from Bugbase): dakota c. / ()
Failure Type: Incorrectly functioning
Found In Build/Fixed In Build: ColdFusion 11 Update 18 / CF11U19
Priority/Frequency: Normal / All users will encounter
Locale/System: ALL / Win 2012 Server x64
Vote Count: 1
Problem Description: In the latest ColdFusion hotfix for ColdFusion 11 trying to return the results of a CFQuery tag relying on the cachedWithin attribute throw a variable undefined. Steps to Reproduce: You will need to be connected to a database to replicate this behavior. Listed below is an example code snippet that illustrates this behavior. <cfquery name="TestQueryHere" datasource="TestDSN"> SQL QUERY HERE </cfquery> <cfreturn TestQueryHere> Actual Result: VARIABLE TestQueryHere is undefined. Expected Result: The results of my SQL query. Any Workarounds: Removing the cachedWithin attribute or rolling back to the previous hotfix. This is not ideal in a production environment.