tracker issue : CF-3860808

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

Flash/HTML format CFCHARTs will generate unexpected URLs if attribute "URL" is set to "" or " "

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Eric Tabet / Eric Tabet (etabet)

Created: 12/02/2014

Components: Charting/Graphing

Versions: 11.0

Failure Type:

Found In Build/Fixed In Build: CF11_Final / CF11 Update5

Priority/Frequency: Major / All users will encounter

Locale/System: English / Win 2012 Server x64

Vote Count: 1

Listed in the version 11.0.05.293506 Issues Fixed doc
Problem Description:
When URL attributre is set to empty (URL="") or space (URL=" "), the chart will still generate a URL and append random "r" parameter

Steps to Reproduce:
Use following code:

<CFOUTPUT><cfchart format="flash" height="400" width="600" URL="">
   <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></CFOUTPUT>

Different behaviour witth URL=" " (space)


Actual Result:
Despite the empty URL attribute, the bars are clickable and link to a URL like /3000?r=0.5323022911325097 (3000 is the value and r seems random)

If URL is set to " " (space), the bars are also clicable and link to   /Page.cfm?r=0.5323022911325097  (no value, but current script name)

Expected Result:
There should be no URL if the attribute is set to empty.

Any Workarounds:
No workaround. URL="#SomeVariable#" will trigger a click behaviour even if #SomeVariable# is empty

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

Watson Bug ID:	3860808

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:

+1 ......................
Vote by External U.
9825 | January 04, 2015 04:59:32 PM GMT
The fix for this bug is available in the pre-release build of ColdFusion 11 Update 5
Comment by CFwatson U.
9823 | February 20, 2015 09:23:43 AM GMT
Verified this is fixed in CF11 Update 5 (build 11,0,05,293506). Thanks!, -Aaron
Comment by External U.
9824 | September 02, 2015 02:54:47 AM GMT