Revision 1247740

Go back to digest for 21st August 2011

Bug Fixes in Office

Cristian Oneț committed changes in /branches/stable/extragear-kde4/office/kmymoney/kmymoney/kmymoney.cpp:

Fix an infinite loop in ReportAccount::calculateAccountHierarchy caused by an invalid budget that was obtained by deleting a category and assigning it to another category which was not budgeted. In that case MyMoneyBudget::account will return the empty account group for the new category when calling 'MyMoneyBudget::AccountGroup toBudget = b.account(categoryId);' thus if you add toBudget with toBudget.id() instead of toBodget with categoryId then an account group with an empty id is created.
Backported to the stable branch.

File Changes

Modified 1 files
  • /branches/stable/extragear-kde4/office/kmymoney/kmymoney/kmymoney.cpp
1 files changed in total