Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Aaron Neff / Aaron Neff (Aaron Neff)
Created: 03/09/2016
Components: Language
Versions: 2016
Failure Type:
Found In Build/Fixed In Build: RC1_v12 /
Priority/Frequency: Major / Some users will encounter
Locale/System: English / Win All
Vote Count: 0
ordered struct throws exception in query.map() callback
Repro:
<cfscript>
q1 = queryNew("foo", "integer", [["bar1"]]);
q2 = q1.map(function(row,index,query){return [foo="bar3"];}, queryNew("foo", "integer", [["bar2"]]));
writeDump(q2);
</cfscript>
Actual result: coldfusion.runtime.StructOrdered cannot be cast to coldfusion.runtime.Struct
Expected results:
Invalid data bar1 for CFSQLTYPE CF_SQL_INTEGER
Invalid data bar2 for CFSQLTYPE CF_SQL_INTEGER
Invalid data bar3 for CFSQLTYPE CF_SQL_INTEGER
Related ticket: 4117243
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 4126388
External Customer Info:
External Company:
External Customer Name: Aaron Neff
External Customer Email: adobelabs@itisdesign.com
External Test Config:
Attachments:
Comments: