tracker issue : CF-4204876

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

CFChart URL Bug

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/Duplicate

Reporter/Name(from Bugbase): Carl J S. / ()

Created: 07/19/2019

Components: Charting/Graphing

Versions: 2018

Failure Type: Incorrectly functioning

Found In Build/Fixed In Build: 2018,0,04,314546 /

Priority/Frequency: Normal / All users will encounter

Locale/System: English / Win 2012 Server x64

Vote Count: 0

Problem Description:
I am migrating our company's enterprise install of ColdFusion11 to ColdFusion2018 Enterprise.
I've downloaded and successfully installed the 30-day trial version of CF2018.

Untouched, the url attribute of cfchart is not working correctly.

It's throwing a cryptic Unexpected token error (see attached PNG). 
So far, I have not been unable to EXACTLY reproduce something similar, using cffidle or cftry (but I am attaching code that will ALSO throw an error, in CF2018). It's almost as if there is some sort of client-side "thing" running, first.

Steps to Reproduce:
see attached file, cfchart_bug.cfm; copy that into cftry or cffiddle

link to a cffiddle:

Actual Result:

Expected Result:
go to linked page

Any Workarounds:

If there is more information I can provide, please let me know.



The example I have provided is an attempt to recreate the issue (linking from a CFChart, via the URL attribute, to another page); my example isn't exactly like the one I'm having w/ my internal code (internal page to internal page), so I realize some the try/fiddle sites, and the use of iframes, may not allow for external/non-origin linking. Again, though, I'm just trying to find out why the URL attribute, of CFChart, in ColdFusion 2018 is throwing a false error (is a bug).
Comment by Carl J.
31060 | July 23, 2019 03:07:45 PM GMT
FYI, the same code works fine on ColdFusion11 (update 19). In ColdFusion 2018 (update 4), the code seems to be loading the CFChart URL as an AJAX request, instead of a document navigation request.
Comment by Carl J.
31061 | July 23, 2019 04:02:35 PM GMT