Status/Resolution/Reason: Closed/Withdrawn/
Reporter/Name(from Bugbase): Tim Parker / Tim Parker (Tim Parker)
Created: 03/19/2014
Components: Caching
Versions: 9.0
Failure Type:
Found In Build/Fixed In Build: 9.0 /
Priority/Frequency: Major / Most users will encounter
Locale/System: English / Platforms All
Vote Count: 0
Problem Description: code changes don't reliably take effect if the 'Cache Template in Request' setting is used. This problem has been reported to me with both CF9 and CF10 (see test config) We were initially unable to reproduce this problem in a simple scenario, but then realized that the 'problem' modules were being called from within a CFThread block. The two attached modules demonstrate the problem *sometimes*. Our scenario is significantly more complex, and the problem occurs more frequently/reliably
Steps to Reproduce:
1) unzip the attached archive (two CF modules) in a CF-visible directory
2) browse to 'call-foo.cfm'
3) edit the assignment on line 1 of 'foo.cfm'
4) reload 'call-foo.cfm' in your browser - if this reload is soon after the updated 'foo.cfm' is saved, the old version of 'foo.cfm' is seen
>>> NOTE: this is NOT a 100% reproducible case - the change is *sometimes* seen on the first reload, sometimes it takes a few reloads before the update is visible.
Actual Result: code change is not reliably reflected shortly after code is updated
Expected Result: code change should be reflected immediately - all requests started after the module update should see the update. This is reliably the case with 'Cache Template in Request' disabled, but not with the setting enabled
Any Workarounds: turn off 'Cache Template in Request'
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3726686
External Customer Info:
External Company:
External Customer Name: TParker
External Customer Email:
External Test Config: My Hardware and Environment details:
CFML Engine Version: ColdFusion Server 9.0.2.282541 (JRun/4.0)
JVM version: 1.7.0_51-b13 - [64 bits, Windows 7]
JVM memory (MB): max:996 total:996 free:756.41
----- AND -------
CFML Engine Version: ColdFusion Server 10.0.13.287689 (Apache Tomcat/7.0.23)
JVM version: 1.7.0_51-b13 - [64 bits, Windows 7]
JVM memory (MB): max:954 total:954 free:123.96
Attachments:
Comments: