I recently upgraded from cf2018 to cf2021 and ther...
# adobe
m
I recently upgraded from cf2018 to cf2021 and there was a hotfix for charting issue in 2018 which was to replace the chart.jar file. It still seems to be an issue in 2021. Does anyone know if I can use the chart.jar file that was provided for 2018 can be used for 2021? Here is the bug https://tracker.adobe.com/#/view/CF-4210272 I did receive a patch back in 10/1/2021 but that was for 2018: ColdFusion chart patch (56515) Can I reuse that same jar file but replace the one in {cfroot}/bundles/repo/chart-2.8.jar ?
Well I tried to reuse the chart.jar file, apparently the repo is where the package manager uses it to install. In the {cfroot}/bundles/repo 1. made a backup copy of chart-2.8.jar 2. cp chart.jar from the hotfix to {cfroot}/bundles/repo/chart-2.8.jar 3. Uninstalled chart package 4. Reinstalled chart [package 5. restarted CF (not sure if needed) I got this error: com/zingchart/ZingChartComponentD null The error occurred on line 352. So no dice...
😭
p
Hi Mark, that will not work with CF2021.
Are you in production with CF2021? This will be part of next update.
m
We are not in production yet, we are real close. We have upgraded our DEV and QA environments and noticed this old issue appearing again. I know this is a touchy request, but how soon is the next update? days, weeks, months away? This issue probably won't be enough to prevent us from going to production.
p
@Mark Berning We need to check if we can build a CF2021 patch for you. I cannot commit anything but I will try as we have already added this in our next update for CF2018 and CF2021.
m
@priyank_adobe <ping> any update on either main update or hotfix? Apparently we are going to wait for this fix before going to production.
p
Hi @Mark Berning I have asked if I can share a patch before the update release. I will get back to you in a day.
m
@priyank_adobe Just checking in...
p
@Mark Berning Hopefully I will get a fix by tomorrow. Sorry about the delay
@Mark Berning I have sent an email with the link, please let me know if you received it. It has instructions to apply it.
m
@priyank_adobe yes I have received and downloaded it. Will be testing shortly. Instructions seem simple enough.
@priyank_adobe so far so good. Worked fine in our DEV environment. I then installed in our QA. Ran into a bunch of errors:
Metaspace null <br>The error occurred on line -1.
I tried to uninstall the chart package and got errors uninstalling it (from Coldfusion Administrator) I restarted coldfusion app - still errors Then I realized there was a bug with the presentation package, so I uninstalled presentation and reinstalled it and then was able to reinstall the chart package. Then the errors went away. If you want me to send any logs let me know....
p
Let me run the the quick test and get back to you
@Mark Berning I tried in different machines and it worked fine at my end. May be we can connect and I will take a look. You can also clear the felix-cache and try again.
j
@Mark Berning @priyank_adobe Was there ever a solution here for the charting? Can this solution be shared?
m
👍🏻 1
j
Thanks! I’ve installed that update but still nothing showing up. Low on the priority list, I guess. Upgrading from CF2016 to CF2021. Working out the kinks today…
m
Make sure you also included chart package as part of your installation
j
Ya, still no-go. I’ll loop back on it later. Thx again!
👍🏻 1
For the record, I changed format to PNG from HTML and now I am at least getting an image. Didn’t think of it until reading: https://community.adobe.com/t5/coldfusion-discussions/chart-cache-error-in-coldfusion-2021/td-p/13266266