TheAxelander / OpenBudgeteer

OpenBudgeteer is a budgeting app based on the Bucket Budgeting Principle
https://theaxelander.github.io
MIT License
788 stars 43 forks source link

Broken rule-tab if a bucket associated with a rule got deleted #65

Closed peddarson closed 2 years ago

peddarson commented 2 years ago

If a rule is associated to a certain bucket and the bucket is removed/deleted the rule-tab freezes and does not show anything. After deleting the specific rules in the database everything is back to normal.

Maybe deleting the bucket should also delete the connected rules to it?

Idk if the log helps, it is just the docker log... Log OpenBugeteer.txt

TheAxelander commented 2 years ago

I think I have an idea where this can happen.

Could it be possible that you have created a Bucket, then created a Rule for it and then "removed" it without assigning any Bank Transaction? If yes then I know what's the issue.

peddarson commented 2 years ago

Could it be possible that you have created a Bucket, then created a Rule for it and then "removed" it without assigning any Bank Transaction? If yes then I know what's the issue.

Pretty much that's point

TheAxelander commented 2 years ago

Fixed with latest commit on pre-release