Title:
Bug 80717:CF8 & CF9 script does not like function name of 'default' This works<cffunction name=default><cfargument name="rc" /><!--- code here ---></cffunction>
| View in TrackerStatus/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): AJ Mercer / AJ Mercer (A J Mercer)
Created: 11/17/2009
Components: Language
Versions: 9.0
Failure Type: Unspecified
Found In Build/Fixed In Build: 0000 / 262089
Priority/Frequency: Minor / Some users will encounter
Locale/System: English / Linux Ubuntu 9
Vote Count: 3
Problem:
CF8 & CF9 script does not like function name of 'default' This works<cffunction name=default><cfargument name="rc" /><!--- code here ---></cffunction>
Method:
This throws error<cfscript>function default(rc) {// code here}</cfscript>
Result:
Invalid CFML construct found on line 4 at column 5.ColdFusion was looking at the following text:functionThe CFML compiler was processing: * A cfscript tag beginning on line 3, column 18.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3040424
External Customer Info:
External Company:
External Customer Name: AJ Mercer
External Customer Email: 4A0245AD452C6147992016B7
External Test Config: 11/17/2009
Attachments:
Comments: