Title:
[ANeff] Bug for: applicationStop() silently ignored in Application.cfc initialization area
| View in TrackerStatus/Resolution/Reason: Closed/Withdrawn/AsDesigned
Reporter/Name(from Bugbase): Aaron Neff / Aaron Neff (Aaron Neff)
Created: 01/28/2015
Components: Language, CF Component
Versions: 11.0
Failure Type:
Found In Build/Fixed In Build: CF11_Final /
Priority/Frequency: Normal / Few users will encounter
Locale/System: ALL / Platforms All
Vote Count: 0
Application.cfc
---------------
component {
THIS.name = "myapp";
THIS.applicationTimeout = createTimeSpan(0,0,1,0);
applicationStop();//ignored (bug)
function onApplicationStart() {
APPLICATION.appStarted = now();
return true;
}
}
index.cfm
---------
<cfset writeDump(APPLICATION.appStarted)>
Steps to reproduce:
1) Run above code multiple times in rapid succession
Expected result: APPLICATION.appStarted timestamp should keep changing
Actual result: APPLICATION.appStarted timestamp never changes until after applicationtimeout
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3929643
External Customer Info:
External Company:
External Customer Name: Aaron
External Customer Email:
Attachments:
Comments: