tracker issue : CF-4204876

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

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: https://cffiddle.org/app/file?filepath=11d216a6-8e33-49cb-ac46-4a0daf3f63ce/0282dac6-a6fc-4c58-8168-2a5ea11c3ab3/e76475db-331c-4319-ab26-1a0aa8857dc3.cfm



Actual Result:
Error

Expected Result:
go to linked page

Any Workarounds:
none



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

Attachments:

Comments:

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