Status/Resolution/Reason: Closed/Withdrawn/CannotReproduce
Reporter/Name(from Bugbase): Dave Ferguson / Dave Ferguson (Dave Ferguson)
Created: 03/09/2016
Components: Mobile Support
Versions: 2016
Failure Type: Unspecified
Found In Build/Fixed In Build: Alpha3_v12 /
Priority/Frequency: Trivial / Unknown
Locale/System: English / Mac All
Vote Count: 0
The code below will cause a cfml error when inside cfclient tag. However, the code is valid. Furthermore it is javascript and shouldn't be processed by at all.
<cfclient>
<cfscript>
a = $('li.list-group-item-success').map(function() { return this.value }).get().toString();s
</cfscript>
</cfclient>
Invalid CFML construct found on line 6 at column 82.
ColdFusion was looking at the following text:
}
The CFML compiler was processing:
A script statement beginning with return on line 6, column 64.
An expression beginning with $, on line 6, column 15.This message is usually caused by a problem in the expressions structure.
A script statement beginning with a on line 6, column 10.
A cfscript tag beginning on line 5, column 10.
The error occurred in /Users/dferguson/Documents/Projects/TKDScoringPro/scratch/test.cfm: line 6
4 : <cfclient>
5 : <cfscript>
6 : a = $('li.list-group-item-success').map(function() { return this.value }).get().toString();
7 :
8 : </cfscript>
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 4126524
External Customer Info:
External Company: Disney IT
External Customer Name: Dave Ferguson
External Customer Email: dave@dkferguson.com
External Test Config:
Attachments:
Comments: