tracker issue : CF-3043394

select a category, or use search below
(searches all categories and all time range)
Title:

Bug 86402:-(Watson Migration Closure)This code compiles/runs fine:<cffunction name="foo" a:b="123"></cffunction>This code throws a syntax error: ("Invalid CFML construct found")<cfscript>function foo() a:b="123" {}</cfscript>

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/

Reporter/Name(from Bugbase): Adam Tuttle / Adam Tuttle (Adam Tuttle)

Created: 02/17/2011

Components: Language, CFSCRIPT

Versions: 9.0.1

Failure Type: Unspecified

Found In Build/Fixed In Build: 0000 /

Priority/Frequency: Trivial / Unknown

Locale/System: English / Platforms All

Vote Count: 1

Duplicate ID:	CF-3514590

Problem:

This code compiles/runs fine:<cffunction name="foo" a:b="123"></cffunction>This code throws a syntax error: ("Invalid CFML construct found")<cfscript>function foo() a:b="123" {}</cfscript>
Method:


Result:

You can not set a custom metadata attribute for a script function that includes a colon in the attribute name; but it is possible in cfscript.

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3043394

External Customer Info:
External Company:  
External Customer Name: Adam Tuttle
External Customer Email: 71DA001D4586B5B5992015D5
External Test Config: 02/17/2011

Attachments:

Comments: