Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Aaron Neff / Aaron Neff (Aaron Neff)
Created: 05/04/2016
Components: Language
Versions: 2016
Failure Type: Cosmetic Issue
Found In Build/Fixed In Build: CF2016_Final /
Priority/Frequency: Minor / Some users will encounter
Locale/System: English / Platforms All
Vote Count: 0
QuerySort() exception says ArraySort()
Repro:
<cfscript>
q = queryNew("myCol", "", [["b"],["a"],["c"]]);
comparator = function(value1, value2) {
return "foobar";
};
writeDump(q.sort(comparator));
</cfscript>
Actual result: "Function return type for ArraySort is not valid."
Expected result: "Function return type for QuerySort is not valid."
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 4148803
External Customer Info:
External Company:
External Customer Name: Aaron Neff
External Customer Email:
Attachments:
Comments: