Status/Resolution/Reason: Closed/Won't Fix/
Reporter/Name(from Bugbase): Adam Cameron / Adam Cameron (Adam Cameron)
Created: 03/09/2014
Components: Language
Versions: 11.0
Failure Type: Data Loss
Found In Build/Fixed In Build: PublicBeta /
Priority/Frequency: Critical / Some users will encounter
Locale/System: English / Platforms All
Vote Count: 2
See code:
// inbound.cfm
json = '{"a":"a","A":"A"}';
cfml = deserializeJSON(json);
writeDump([{json=json},{cfml=cfml}]);
The "a" and "A" keys are two different things, however when CF deserialised this JSON, it simply overwrites one of them. ColdFusion should not simply overwrite data due to its internal limitations: in this case it should raise an exception.
--
Adam
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3720137
External Customer Info:
External Company:
External Customer Name: Adam Cameron.
External Customer Email:
External Test Config: My Hardware and Environment details:
Attachments:
Comments: