tracker issue : CFB-3781535

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

<script> incorrect validation w/ CF Variable

| View in Tracker

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

Reporter/Name(from Bugbase): Christopher Tierney / CFJSGeek (Christopher Tierney)

Created: 06/25/2014

Components: Editor Features

Versions: 3.0

Failure Type:

Found In Build/Fixed In Build: 3.0 Final /

Priority/Frequency: Normal / Unknown

Locale/System: English / Windows 7 SP1 64-bit

Vote Count: 0

Problem Description:

"Illegal Character" error in gutter validation when using ColdFusion variables inside a <script></script> element.

Steps to Reproduce:

Sample Code:

Actual Result:
"Illegal Character" error in gutter validation

Expected Result:
No error displayed in gutter

Any Workarounds:
Ignore error icon or remove CF Variable

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

Watson Bug ID:	3781535

External Customer Info:
External Company:  
External Customer Name: CFJSGeek
External Customer Email:  
External Test Config: My Hardware and Environment details: CF Builder version



JavaScript is parsed by a third-party JS parser and it throws error for invalid JS syntax. (Comment added from ex-user id:dsarkar)
Comment by Adobe D.
26950 | July 21, 2014 03:19:14 AM GMT
Which 3rd Party JS Parser do I need to submit this bug to then?
Comment by External U.
26951 | July 21, 2014 10:33:52 AM GMT
We use Rhino parser. But expression in ## is not a valid JS syntax, so the JS parser is doing the correct thing by throwing syntax error.
Comment by Ram K.
26952 | July 21, 2014 10:46:57 PM GMT