tracker issue : CF-3038879

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

Bug 77867:(Watson Migration Closure)The docs say that toScript does not support CFC

| View in Tracker

Status/Resolution/Reason: Closed/Won't Fix/LowImpact

Reporter/Name(from Bugbase): Raymond Camden / Raymond Camden (Raymond Camden)

Created: 06/11/2009

Components: Language, Functions

Versions: 9.0

Failure Type: Unspecified

Found In Build/Fixed In Build: 0000 /

Priority/Frequency: Minor / Unknown

Locale/System: English / Mac 10 All

Vote Count: 0

Problem:

The docs say that toScript does not support CFC. (Well, it doesn't list it in the supported formats). However, you can pass a CFC to it. The output though is broken JS. See this blog post for an example:

http://www.coldfusionjedi.com/index.cfm/2009/6/11/ColdFusion-Quickie--Generating-JavaScript-from-CFML

I think toScript should throw an error if passed a component.


Method:


Result:

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

Watson Bug ID:	3038879

External Customer Info:
External Company:  
External Customer Name: Raymond Camden
External Customer Email: 5FBC41E943BD265C992015D5
External Test Config: 06/11/2009

Attachments:

Comments: