Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Andrew Scott / Andrew Scott (Andrew Scott)
Created: 05/07/2012
Versions: 10.0
Failure Type:
Found In Build/Fixed In Build: Public Beta / CF10_Update14
Priority/Frequency: Major / Most users will encounter
Locale/System: English / Windows 7
Vote Count: 0
Problem Description:
For example a typical json object might be
myData = [10,0,1,5];
Yet when we send this across to ColdFusion, it fails miserably. This means that writing a ColdFusion webService, people who use other languages to connect to this ColdFusion webservice have to do extra work.
Railo seems to be a typical example of where it works right, as if you where to send the above myData string across in Railo the array would be created correctly. However ColdFusion requires that the data be quoted like such.
myData = ["10","0","1","5"];
If you read the specifications of Json at http://www.json.org/ it is obvious that ColdFusion is not dealing with passed JSon objects when calling remote CFC's
This seems to be causing issues with a lot of people trying to connect to a ColdFusion webservice from PHP, .Net, Java and many others that I have seen.
Steps to Reproduce:
http://blog.kukiel.net/2012/05/sending-arrays-from-javascript-to.html
Actual Result:
Expected Result:
Any Workarounds:
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3184291
External Customer Info:
External Company:
External Customer Name: ascott67
External Customer Email:
External Test Config: My Hardware and Environment details:
Attachments:
Comments: