Status/Resolution/Reason: Closed/Fixed/Fixed
Reporter/Name(from Bugbase): Oliver Jones / Oliver Jones ()
Created: 08/04/2017
Components: Charting/Graphing
Versions: 2016,11.0
Failure Type: Incorrectly functioning
Found In Build/Fixed In Build: 2016.0.02.299200 / CF2016U12,CF2018U5
Priority/Frequency: Normal / Some users will encounter
Locale/System: / Windows 7 64-bit
Vote Count: 0
Problem Description:
Characters such as " cause Cfchart to fail with undescriptive error message.
Steps to Reproduce:
<cfchart format="png">
<cfchartseries serieslabel="Series 1" type="bar">
<cfchartdata item="Category ""1"" A" value="10">
</cfchartseries>
</cfchart>
Actual Result:
org.mozilla.javascript.EcmaError: SyntaxError: missing ] after element list (zingchart-rhino.min.js#8(eval)#1)
at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3785)
at org.mozilla.javascript.DefaultErrorReporter.error(DefaultErrorReporter.java:89)
at org.mozilla.javascript.Parser.addError(Parser.java:230)
at org.mozilla.javascript.Parser.addError(Parser.java:208)
Expected Result:
More descriptive error message or produce the chart as expected.
Any Workarounds:
Remove special characters before input to item attribute
Attachments:
Comments: