Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Adam Cameron / Adam Cameron (Adam Cameron)
Created: 07/27/2013
Components: Language
Versions: 10.0
Failure Type: Data Corruption
Found In Build/Fixed In Build: Final / 287021
Priority/Frequency: Normal / Few users will encounter
Locale/System: English / Platforms All
Vote Count: 1
See: http://cfmlblog.adamcameron.me/2013/07/toscript-new-to-me-new-bugs-to-me-too.html
Repro:
<cfscript>
cfmlStruct = {
unQuotedKeyName = "yes",
"quotedKeyName" = true
};
jsCode = toScript(cfmlStruct, "jsObject");
writeDump([cfmlStruct, jsCode]);
</cfscript>
The case of the struct keys are not preserved between CF and JS.
They should be.
--
Adam
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3602705
Deployment Phase: Release Candidate
External Customer Info:
External Company:
External Customer Name: Adam Cameron.
External Customer Email:
External Test Config: My Hardware and Environment details:
Attachments:
Comments: