Status/Resolution/Reason: Closed/Fixed/Fixed
Reporter/Name(from Bugbase): Giancarlo Gomez / Giancarlo Gomez ()
Created: 02/24/2017
Versions: 2016
Failure Type: Non Functioning
Found In Build/Fixed In Build: 2016.0.03.300466 / 302165
Priority/Frequency: Normal / All users will encounter
Locale/System: / Win 2008 Web Server
Vote Count: 0
Problem Description:
Passing arguments as an array to cfexecute returns the following error.
Complex object types cannot be converted to simple values.
Steps to Reproduce:
var args = {
name : "{{value}}",
arguments : ["{{value}}","{{another value}}"],
timeout : 15,
variable : "result"
};
cfexecute( attributecollection:args );
Actual Result:
Error : Complex object types cannot be converted to simple values.
Expected Result:
No Error
Any Workarounds:
Set arguments as a string or do this before passing to cfexecute.
args.arguments = args.arguments.toList(" ");
This was not an issue before, upgraded last night and ran into this.
Attachments:
Comments: