Status/Resolution/Reason: Closed/Won't Fix/Workaround
Reporter/Name(from Bugbase): Eric Tabet / Eric Tabet (etabet)
Created: 12/02/2014
Components: Charting/Graphing
Versions: 11.0
Failure Type: Non Functioning
Found In Build/Fixed In Build: CF11_Final /
Priority/Frequency: Critical / All users will encounter
Locale/System: English / Win 2012 Server x64
Vote Count: 1
Problem Description:
CFCHART is now expecting to be in a page that hasn't yet been flushed to the user.
This is a regression from previous versions where this was possible.
Steps to Reproduce:
Use the following code:
<CFFLUSH>
<cfchart format="png" height="400" width="600">
<cfchartseries type="bar">
<cfchartdata item="2005" value="1000"/>
<cfchartdata item="2006" value="3000"/>
<cfchartdata item="2007" value="1000"/>
<cfchartdata item="2008" value="4000"/>
<cfchartdata item="2009" value="2000"/>
</cfchartseries>
</cfchart>
Actual Result:
Error message:
Unable to add text to HTML HEAD tag.
ColdFusion was unable to add the text you specified to the output stream
This is probably because you have already used a CFFLUSH tag in your template or buffered output is turned off
Expected Result:
the chart should still display
Any Workarounds:
On an application where header/content is flushed prior to page execution, there is no workaround.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3860648
External Customer Info:
External Company:
External Customer Name: etabet
External Customer Email:
External Test Config: My Hardware and Environment details:
Windows 2012 x64
Attachments:
Comments: