Title:
Bug 75365:(Watson Migration Closure)Bug for: Type validation is not performed, when array notation is used to set query cell values
| View in TrackerStatus/Resolution/Reason: Closed/Won't Fix/LowImpact
Reporter/Name(from Bugbase): Aaron Neff / Aaron Neff (Aaron Neff)
Created: 02/07/2009
Versions: 9.0
Failure Type: Unspecified
Found In Build/Fixed In Build: 0000 /
Priority/Frequency: Normal / Most users will encounter
Locale/System: English / Platforms All
Vote Count: 1
Problem:
Bug for: Type validation is not performed, when array notation is used to set query cell values. querySetCell does perform type validation.
Related thread: https://prerelease.adobe.com/r/?4eaf0f675f184e2f87afc83930de3b9e
Method:
Example:
<cfscript>
myQuery = queryNew("myQueryColumn", "integer");
queryAddRow(myQuery, 2);
querySetCell(myQuery, "myQueryColumn", 1, 1);
myQuery.myQueryColumn[2] = "NO TYPE VALIDATION HAPPENING HERE";
dump(var=getMetaData(myQuery));
dump(var=myQuery);
</cfscript>
Result:
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3037466
External Customer Info:
External Company:
External Customer Name: Aaron Neff
External Customer Email: 3D1D17B03C844EBF992001AC
External Test Config: 02/07/2009
Attachments:
Comments: