Summary: | Application Crashed | ||
---|---|---|---|
Product: | [Applications] kmymoney | Reporter: | Dave <dave> |
Component: | general | Assignee: | KMyMoney Devel Mailing List <kmymoney-devel> |
Status: | RESOLVED FIXED | ||
Severity: | crash | ||
Priority: | NOR | ||
Version: | 4.5.3 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Dave
2011-08-16 07:35:13 UTC
SVN commit 1247739 by conet: BUG: 280172 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. M +1 -1 kmymoney.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1247739 SVN commit 1247740 by conet: BUG: 280172 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. M +1 -1 kmymoney.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1247740 *** Bug 282487 has been marked as a duplicate of this bug. *** |