tracker issue : CF-3865484

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

CF11 update 3 breaks chart style json that uses legend

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Tom Chiverton / Tom Chiverton (Tom Chiverton)

Created: 12/10/2014

Components: Charting/Graphing

Versions: 11.0

Failure Type: Non Functioning

Found In Build/Fixed In Build: CF11_Final / 11,0,04,293239

Priority/Frequency: Normal / Some users will encounter

Locale/System: ALL / Linux All

Vote Count: 3

Listed in the version 11.0.04.293328 Issues Fixed doc
Problem Description:
Under CF11 update 2, you could turn legnds on CFCHART off using ZingChart's style JSON files.
Under update 3, this causes a ColdFusion exception (!)

Steps to Reproduce:
Run the attached ColdFusion and style files.

Actual Result:
 java.lang.Integer cannot be cast to java.lang.String null <br>The error occurred on line 6. 

Note this is pointing at a CFLOOP tag (!)

Expected Result:
Chart drawn

Any Workarounds:
Use
  "legend":{"visible":"0"}
instead of 
  "legend":{"visible":0}

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

Watson Bug ID:	3865484

External Customer Info:
External Company:  
External Customer Name: ChivertonT
External Customer Email:  
External Test Config: My Hardware and Environment details:

Attachments:

  1. December 10, 2014 00:00:00: 1_cfchartloop.bmp
  2. December 10, 2014 00:00:00: 2_hbarChartStyle.bmp

Comments:

Why is CF even trying to attempt to parse the style JSON ?!?
Comment by External U.
9486 | December 10, 2014 04:30:01 AM GMT
I have also upgraded to Update 3 and got the same error... Was working fine with Update 2.
Comment by External U.
9487 | December 10, 2014 10:06:12 AM GMT
I am also facing this error with Update 3.
Vote by External U.
9491 | December 10, 2014 10:06:34 AM GMT
Confirmed that this is an issue/regression. Probably a result of fixing bug CF-3756754 (https://bugbase.adobe.com/index.cfm?event=bug&id=CF-3756754). Since this is "fixed", another workaround is just to use the cfchart attribute and set it to showlegend="false".
Comment by External U.
9488 | December 11, 2014 06:52:11 PM GMT
We have hundreds of pie charts using zingChart styles and the legend is required for the information to be shown. It is not possible to just hide the legend as it is currently built.
Vote by External U.
9492 | December 17, 2014 07:45:06 AM GMT
Stephen, the pie charts we have require a legend for the way they are built.
Comment by External U.
9489 | December 17, 2014 07:46:18 AM GMT
+1 ......................
Vote by External U.
9493 | January 06, 2015 04:28:01 AM GMT
Confirmed this is fixed in CF11 Update 4 (build 11,0,04,293085(PreRelease)), using the attached example. Thanks!, -Aaron
Comment by External U.
9490 | February 01, 2015 07:04:55 PM GMT