Status/Resolution/Reason: To Fix//
Reporter/Name(from Bugbase): Aaron Neff / Aaron Neff (Aaron Neff)
Created: 12/08/2014
Components: Language, CF Component
Versions: 11.0
Failure Type:
Found In Build/Fixed In Build: CF11_Final /
Priority/Frequency: Major / Few users will encounter
Locale/System: ALL / Platforms All
Vote Count: 4
CF is caching the extends path, even w/ all caching options off. When 2 apps invoke the same child CFC, and the child CFC extends an app-specific parent CFC, then the 2 apps end up sharing each other's parent CFC (until CF is restarted or the template cache is cleared). This was an interesting one to sort out =)
Repro:
1) On CF Admin's Caching page, disable all options and clear all caches
2) Clear out the C:\ColdFusion11\cfusion\wwwroot\WEB-INF\cfclasses directory
3) Unzip attached extendscaching.zip to localhost (i.e. C:\inetpub\wwwroot)
4) Browse to localhost/app1 and see "app1's foo() was called" (good)
5) Browse to localhost/app2 and see "app1's foo() was called" (bug: CF cached the child CFC's extends path in #4)
6) On CF Admin's Caching page, click "Clear Template Cache Now"
7) Browse to localhost/app2 and see "app2's foo() was called" (good)
8) Browse to localhost/app1 and see "app2's foo() was called" (bug: CF cached the child CFC's extends path in #7)
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3863748
External Customer Info:
External Company:
External Customer Name: itisdesign
External Customer Email:
External Test Config: x64 Win All w/ CF11 Update 3 (11,0,03,292480) Enterprise Standalone and Java 1.7.0_51 and isapi_redirect.dll v1.2.40.0 modified Monday, ?November ?10, ?2014, ??5:14:48 PM
Attachments:
- December 08, 2014 00:00:00: 1_extendscaching.zip
Comments: