Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Aaron Neff / Aaron Neff (Aaron Neff)
Created: 03/09/2016
Components: Caching
Versions: 2016
Failure Type:
Found In Build/Fixed In Build: Alpha_v12 /
Priority/Frequency: Major / Some users will encounter
Locale/System: English / Win All
Vote Count: 1
Pre-CF12, cachedwithin=0 returns a non-cached query (expected). In CF12, cachedwithin=0 returns a cached query (bug).
Repro:
<cfscript>
q1 = queryNew("myCol");
q2 = queryExecute("SELECT myCol FROM q1", [], {dbtype="query", cachedwithin=0});
q3 = queryExecute("SELECT myCol FROM q1", [], {dbtype="query", cachedwithin=0});
writeDump(q3.getResult().cached);//pre-CF12 returns false; CF12 returns true
</cfscript>
Same result for QoQ and non-QoQ.
Same result for internal cache and Ehcache.
Data corruption can occur if the unexpectedly-cached response is treated as a non-cached response.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 4126645
External Customer Info:
External Company:
External Customer Name: Aaron Neff
External Customer Email: adobelabs@itisdesign.com
External Test Config:
Attachments:
Comments: