tracker issue : CF-3040424

select a category, or use search below
(searches all categories and all time range)
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 Tracker

Status/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:

This bug has been voted..
Vote by External U.
22523 | November 11, 2011 12:38:45 AM GMT
This bug has been voted..
Vote by External U.
22524 | November 11, 2011 12:38:46 AM GMT
still happening with CHF901 installed
Vote by External U.
22525 | November 11, 2011 12:38:47 AM GMT