Status/Resolution/Reason: Closed/Withdrawn/AsDesigned
Reporter/Name(from Bugbase): Aaron Neff / Aaron Neff (Aaron Neff)
Created: 03/09/2016
Components: Language
Versions: 2016
Failure Type: Unspecified
Found In Build/Fixed In Build: Alpha_v12 /
Priority/Frequency: Trivial / Unknown
Locale/System: English / Win All
Vote Count: 1
Immutable query can be modified using array notation.
Repro:
<cfscript>
q1 = queryNew("myCol", "varchar", [["a"]]);
q2 = queryExecute("SELECT myCol FROM q1", [], {dbtype="query", mutable=false});
q2.myCol[1] = "b";
writeDump(q2.myCol);//returns "b"; should return exception "Query object being modified is not mutable"
</cfscript>
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 4126644
External Customer Info:
External Company:
External Customer Name: Aaron Neff
External Customer Email: adobelabs@itisdesign.com
External Test Config:
Attachments:
Comments: