[coldbox-3.5.0-Final] Possible bug in MessageBox with CF8

I got the following error after installing coldbox 3.5.0 final:

Missing argument name.
When using named parameters to a function, every parameter must have a name.

The CFML compiler was processing:

  • An expression beginning with arrayAppend, on line 242, column 25.This message is usually caused by a problem in the expressions structure.
  • A script statement beginning with arrayAppend on line 242, column 25.
  • A cfscript tag beginning on line 236, column 18.
  • A cfscript tag beginning on line 236, column 18.

The problem seems to be the implicit structure used in line 242:

arrayAppend(data, {key = arguments.key, value = arguments.value});

I changed the code to:

var tempStruct = {key = arguments.key, value = arguments.value});

arrayAppend(data, tempStruct);

and that apparently fixed the problem.

Thanks,

~Rachel G

Thanks can you report it here please http://coldbox.assembla.com/spaces/coldbox/support/tickets so we can schedule it in

Luis Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com

ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Social: twitter.com/ortussolutions | twitter.com/coldbox | twitter.com/lmajano