https://bugs.kde.org/show_bug.cgi?id=288293
Summary: Deleting a category with subcategories referenced only in budgets results in an uncaught exception Product: kmymoney4 Version: SVN trunk Platform: Gentoo Packages OS/Version: Linux Status: NEW Severity: crash Priority: NOR Component: general AssignedTo: kmymoney-devel@kde.org ReportedBy: onet.crist...@gmail.com Created an attachment (id=66419) --> (http://bugs.kde.org/attachment.cgi?id=66419) Testfile to reproduce the described bug Version: SVN trunk (using KDE 4.7.3) OS: Linux I was working on BUG 288279 when I've stumbled upon this scenario after reading the lax reference tests in kmymoney.cpp between lines 3406-3418. It seems that if the user selects "Delete all" the sub-categories are only checked for references in transactions which will not be enough. Any ideas on how to run the same reference tests for the sub-accounts? Reproducible: Always Steps to Reproduce: 1. Delete 'Parent' expense account 2. Choose the "Delete all" option Actual Results: Observe the uncaught exception Expected Results: The account and the sub-accounts should be deleted correctly by removing/moving all the references to them. OS: Linux (x86_64) release 3.0.6-gentoo Compiler: x86_64-pc-linux-gnu-gcc -- Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ KMyMoney-devel mailing list KMyMoney-devel@kde.org https://mail.kde.org/mailman/listinfo/kmymoney-devel