hoogi91 / charts

TYPO3 Extension charts
https://extensions.typo3.org/extension/charts/
GNU General Public License v3.0
5 stars 5 forks source link

Issue while loading chartjs.js file #368

Open FloB95 opened 7 months ago

FloB95 commented 7 months ago

Version(s) affected: 3

Description
There is currently a bug in the Hoogi91\Charts\DataProcessing\Charts\Library\ChartJs class. The JavaScript file is not being loaded in TYPO3 12 due to an incorrect path. As a result, the charts are not appearing in the frontend.

How to reproduce

image

Possible Solution
Use EXT: in path:

image
TheNaderio commented 3 months ago

That is definitely a thing. I just installed the extension in a TYPO3 12 installation, and it shows no charts in FE. The typo3conf paths to access files from inside an extension is not possible any more with /typo3conf/ext/... I added a PR with the fix as it works fine in my tests