Status/Resolution/Reason: Closed/Withdrawn/
Reporter/Name(from Bugbase): / Raul Riera (hipervinculonet)
Created: 01/28/2009
Components: Language, CFSCRIPT
Versions: 9.0
Failure Type: Unspecified
Found In Build/Fixed In Build: 0000 /
Priority/Frequency: Major / Unknown
Locale/System: English / Mac 10 All
Vote Count: 0
Problem:
With the new changes in cfscript, CFWHEELS framework is broken. It seems CF thinks I am trying to declare a function when im just trying to call a function from cfscript.
function keyword is missing in function declaration, Example is below (error comes on line 61):
59 : if (Len(loc.verification.handler))
60 : {
61 : $invoke(component=arguments.controller, method=loc.verification.handler);
62 : $location(url=cgi.http_referer, addToken=false);
63 : }
Method:
Download cfwheels from www.cfwheels.com and run it on CF9, it will error right out.
Result:
function keyword is missing in function declaration.
The CFML compiler was processing:
A script statement beginning with $invoke on line 61, column 41.
A script statement beginning with { on line 60, column 33.
A script statement beginning with if on line 59, column 33.
A script statement beginning with { on line 58, column 25.
A script statement beginning with if on line 57, column 25.
A script statement beginning with { on line 28, column 17.
A script statement beginning with for on line 27, column 17.
A cfscript tag beginning on line 21, column 10.
A cfscript tag beginning on line 21, column 10.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3037388
External Customer Info:
External Company:
External Customer Name: Raul Riera
External Customer Email: 41E307F33FCA1730992015D5
External Test Config: 01/28/2009
Attachments:
Comments: