Created attachment 117178 [details] Error During Start Time SUMMARY STEPS TO REPRODUCE 1. Import Categories from German Common Account Template 2. Try to Delete a Category with several subcategories (Delete All) 3. You will get that an account id not found (see attachment) OBSERVED RESULT EXPECTED RESULT SOFTWARE/OS VERSIONS Linux Arch with updated stable release
This is a weird one: you can delete categories that do not have sub-categories and then their parents. But once you have run into the described problem, you cannot even delete the ones that do not have sub-categories anymore.
Git commit 3cace77952a9e3390160c51448a1587e71f04bbd by Thomas Baumgart. Committed on 31/12/2018 at 15:40. Pushed by tbaumgart into branch '5.0'. Don't send engine notifications for removed objects It could happen that modification notifications were still pending for removed objects. One such instance was caused by removing whole account hierarchies at once. This change fixes the problem. FIXED-IN: 5.0.3 M +31 -9 kmymoney/mymoney/mymoneyfile.cpp https://commits.kde.org/kmymoney/3cace77952a9e3390160c51448a1587e71f04bbd