Closed Syakyr closed 5 years ago
Seems that the categories chart for each category in the Categories section is handled by another script called WholePeriodChartGenerator.php
. Releasing fix soon.
Edit: fixed released at 677a0ed7301f1da29f48bd5da3427951fd963412.
Thanks for the suggestion and the added PR. Since this is SQLite, I'll look for the root cause rather than include your PR for the moment. My own SQLite database does not suffer from this issue and I'm not yet sure why not.
I initialised the database on either 4.6 or 4.8.1. I hope that info may help if you had changed any sqlite generation between those versions (or artisan had initialised sqlite differently between them).
Another piece of info I just remembered: the graph looks alright at first after reverted back from the fix to master
(to clean up the fix and pushed it to another branch), but after adding a dummy transaction entry, it gives back the 500 error again. It persists after removing the transaction. Hope this helps.
I pushed a fix that will hopefully fix this at the root of the problem: where the data is collected from the database. It will be available in the next (alpha) release of Firefly III.
Bug description I am running Firefly III version 4.8.2-alpha.1, and my problem is:
The Category chart in the Dashboard section as well as charts in the Category section are unable to be generated.
Steps to reproduce
Extra info Debug information generated at 2019-11-06 07:39:23 Asia/Singapore for Firefly III version 4.8.2-alpha.1.
Bonus points This is a bug similar to #2783. I have written a fix similar to bed182c , sending PR soon.