Status/Resolution/Reason: Closed/Fixed/Fixed
Reporter/Name(from Bugbase): Giancarlo G. / ()
Created: 10/15/2019
Versions: 2018
Failure Type: Incorrectly functioning
Found In Build/Fixed In Build: Update 5 build 315699 / CF2018U6
Priority/Frequency: Normal / All users will encounter
Locale/System: English / Win 2016
Vote Count: 3
Problem Description:
When trying to use setColumnNames to rename a query's columns the following error is thrown.
Either there are no methods with the specified method name and argument types or the setColumnNames method is overloaded with argument types that ColdFusion cannot decipher reliably. ColdFusion found 0 methods that match the provided arguments. If this is a Java object and you verified that the method exists, use the javacast function to reduce ambiguity.
Steps to Reproduce:
Write a simple query and try to rename columns like below
{code:java}
<cfscript>
qry = queryExecute("SELECT userID, email FROM users");
qry.setColumnNames(["id","emailAddress"]);
</cfscript>
{code}
Actual Result:
Error
Expected Result:
Query Object with columns renamed
Any Workarounds:
Revert hotfix 5
Attachments:
Comments: