Status/Resolution/Reason: Closed/Withdrawn/Duplicate
Reporter/Name(from Bugbase): Dennis Ting / Dennis Ting (Dennis Ting)
Created: 04/10/2015
Components: Core Runtime
Versions: 11.0
Failure Type: Crash
Found In Build/Fixed In Build: CF11_Final /
Priority/Frequency: Critical / Most users will encounter
Locale/System: English / Windows 7
Vote Count: 0
Duplicate ID: CF-3774074
Problem Description:
In our codebase, we have a common pattern where one application.cfc file (in some folder under wwwroot) extends another, more common, application.cfc. This creates an inheritance tree (see attached example).
However, when an application.cfc file extends another one but doesn't explicitly invoke its superclass's methods, an infinite loop occurs.
Steps to Reproduce:
See attached example (containing a few sample folders and files under wwwroot).
With the attached example downloaded to the wwwroot folder, start the ColdFusion server and then navigate to http://localhost:port/folderY/myWebpage.cfm.
The CF server will infinite loop and then crash. This bug only occurs on initialization (to reproduce, stop the CF server and restart it).
Actual Result:
In ColdFusion 11 Update 5 (PreRelease), the server crashes.
In ColdFusion 11 Update 3, the page renders, and we also receive the following output in the console (due to the cflog statements):
[FolderA/Application] Executing onSessionStart
[FolderA/Application] Making call to super.onSessionStart()
[ApplicationBase] Executing onSessionStart
[FolderA/Application] Finished call to super.onSessionStart()
Rendering folderY/myWebpage.cfm
We did not test other versions of ColdFusion 11.
Expected Result:
The behavior exhibited by ColdFusion 11 Update 3 is expected. The behavior exhibited by ColdFusion 11 Update 5 (PreRelease) appears to be a bug.
Any Workarounds:
Explicitly invoke the super call (e.g. uncomment the block shown in folderY/application.cfc in the attached example.)
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3968246
External Customer Info:
External Company:
External Customer Name: Dennis
External Customer Email:
External Test Config: My Hardware and Environment details:
Windows 7
ColdFusion 11 Developer Edition
Attachments:
- April 11, 2015 00:00:00: 1_wwwroot.zip
Comments: