All work
Script syntax for cfinvoke throws exception
Description
Details
Details
Assignee
Reporter
Labels
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Sprint
Fix versions
Priority
Activity
Michael Offner 3 May 2017 at 12:16
the following tags are not supported in script:
cfselect
cfservlet
cfdefaultcase
cfinvoke
cfajaximport
cfservletparam
cfoutput
cfelse
cfproperty
cftreeitem
cfchartseries
cfcatch
cfif
cfcase
cfscript
cfmediaplayer
cfinput
cfvideoplayer
cfobject
cfauthenticate
cfvideoplayerparam
cfmap
cftable
cf_
cfcalendar
cfset
cfinvokeargument
cfgrid
cfreport
cfformclassic
cfchart
cfreturn
cfcol
cfslider
cfargument
cfmapitem
cfwhile
cfdiv
cfgridcolumn
cfelseif
cffunction
cfstatic
cffinally
cftree
cfgraph
cftry
cfapplet
cfajaxproxy
cfluceeconfiguration
cfvideo
cfswitch
cfchartdata
cflayoutarea
cfntauthenticate
cfdump
cfgridupdate
cfregistry
cfx_
cfgraphdata
cfreportparam
cflayout
cfform
cfgridrow
cfinputclassic
cfwindow
Michael Offner 19 January 2017 at 09:16
raised prio because this is a general issue with parsing script tags in ACF syntax.
Pothys - MitrahSoft 13 December 2016 at 13:02
Hi @Michael Offner,
I've analyzed this ticket a lot & confirmed the incompatibility issue for cfinvoke's script syntax. It is working fine for ACF11, but not in Lucee 5.1.1.30 Snapshot & 5.1.0.34. I've added the testcases for this ticket.
Pull request: https://github.com/lucee/Lucee/pull/136
Pete Freitag 12 December 2016 at 20:20
Here is a runnable example: http://trycf.com/gist/bb4b5c540468da7c866ed2d8aa5f3a37
When using the cfinvoke() { } script mode the following works in ACF but not in Lucee:
cfinvoke(webservice="http://soaptest.parasoft.com/calculator.wsdl", method="add", returnvariable="answer") { cfinvokeargument(name="x", value="2"); cfinvokeargument(name="y", value="3"); }
Errors with:
Missing [;] or [line feed] after expression