Title:
Bug introduced in ColdFusion 9 still plagues us today - session scope gets trashed
| View in TrackerStatus/Resolution/Reason: Closed/Won't Fix/
Reporter/Name(from Bugbase): Andrew Scott / Andrew Scott (Andrew Scott)
Created: 03/08/2012
Components: Language
Versions: 10.0
Failure Type: Non Functioning
Found In Build/Fixed In Build: Public Beta /
Priority/Frequency: Normal / All users will encounter
Locale/System: English / Windows 7
Vote Count: 1
Problem Description:
I reported this over 3 years ago, and I see that ColdFusion still suffers the same problem. I have ColdFusion 8 code that I would like to migrate to ColdFusion 9, however this was never fixed. So when I tried this on ColdFusion 10 I am shocked to see that the bug still exists.
I know many applications that may not upgrade / migrate to newer versions, because it would make it hard for them to justify modifying a lot of code at a customers expense.
Can we please have this fixed. I know you are going to defer this, but please this bug has been around long enough. I have customers that wish to migrate to ColdFusion 9 or maybe 10, but I can't justify changing so much of the application to not use scope names as variable names.
This is actually what I would consider a critical blocker for anyone who wishes to upgrade their servers to the latest ColdFusion 10, or even update to ColdFusion 9. And I would bet my bottom dollar that unless it is fixed, you may even loose people who will continue to develop in ColdFusion. I know that is a harsh statement to make, but think about how frustrated that code that works in previous versions is going to effect their decision to continue to develop with ColdFusion in the future.
Steps to Reproduce:
Write and Index.cfm page that has the following code.
<cfscript>
session.andrew = 'Hello';
myObj = new test().wtf();
</cfscript>
Write a component called test and place it in the root directory and put the following code into it.
component {
public void function wtf() {
var local.session = 'something';
writeDump(session);
}
}
Actual Result:
Dumps the local.session which is wrong.
Expected Result:
Should actually dump the session structure or scope.
Any Workarounds:.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3133547
External Customer Info:
External Company:
External Customer Name: ascott67
External Customer Email:
External Test Config: My Hardware and Environment details:
Attachments:
Comments: