Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Adam Cameron / Adam Cameron (Adam Cameron)
Created: 11/03/2012
Components: Core Runtime, Application
Versions: 10.0
Failure Type:
Found In Build/Fixed In Build: Final /
Priority/Frequency: Major / Most users will encounter
Locale/System: English / Windows 7 64-bit
Vote Count: 4
See blog article http://adamcameroncoldfusion.blogspot.com/2012/11/applicationcfc-set-mappings-dont-work.html. It has code and results.
Bottom line, mappings set in Application.cfc are not available in onApplicationEnd(). In CF8 they weren't available in onSessionEnd() either: this has been fixed, but it's still bung in onApplicationEnd() in CF9 and CF10.
See people having problems with this here:
http://stackoverflow.com/questions/10949762/onsessionend-has-different-rootpath-then-my-running-application/13213081
And here:
http://stackoverflow.com/questions/12286622/when-the-onapplicationend-event-fires-it-can-no-longer-resolve-the-mappings-i-ha
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3358817
External Customer Info:
External Company:
External Customer Name: Adam Cameron.
External Customer Email:
External Test Config: My Hardware and Environment details:
Attachments:
Comments: