Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Raymond Camden / Raymond Camden (Raymond Camden)
Created: 03/30/2014
Components: AJAX
Versions: 11.0
Failure Type:
Found In Build/Fixed In Build: PublicBeta /
Priority/Frequency: Major / All users will encounter
Locale/System: English / Platforms All
Vote Count: 1
As we know, CF11 lets you change how queries are serialized over the wire with a new "struct" format. While this is completely broken in the public beta, the idea is that we will be able to add queryformat=struct to the URL, or use the This scope setting in App.cfc, to configure this.
Another way to do Ajax in CF11 is with the cfajaxproxy tag. The object returned by this tag lets you specify a few settings, one of this is queryformat. Currently the JS file includes logic to ONY allow row, column:
if(!_3be||(_3be!="column"&&_3be!="row")){
That's line 632 of cfajax.js.
Please modify this to allow struct:
if(!_3be||(_3be!="column"&&_3be!="row" && _3be!="struct")){
There - done - you can copy and paste. ;) Although it looks like you are using minification so you would need to mod that. But again - two second fix.
This must be done. Afaik, I'd never recommend folks use *any* thing but struct results for queries in ajax. It is so much easier to work with.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3732999
External Customer Info:
External Company:
External Customer Name: cfjedimaster
External Customer Email:
External Test Config: My Hardware and Environment details:
Attachments:
Comments: