[Kmymoney-devel] [Bug 291993] KMyMoney crashes while editing Categories

Bob Mroczka bob at mroczka.com
Sat Feb 18 15:38:42 UTC 2012


https://bugs.kde.org/show_bug.cgi?id=291993


Bob Mroczka <bob at mroczka.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bob at mroczka.com




--- Comment #2 from Bob Mroczka <bob mroczka com>  2012-02-18 15:38:42 ---
I just experienced this issue twice.  If I edit the account the currency field
is USD but it is grayed out.  The line where the exception is being thrown is
on 2381 in kmymoney/mymoney/mymoneyfile.cpp.  I will try to gather a stack
trace and follow up.

2372 const MyMoneySecurity& MyMoneyFile::currency(const QString& id) const$
2373 {$
2374   if (id.isEmpty())$
2375     return baseCurrency();$
2376 $
2377   const MyMoneySecurity& curr = d->m_cache.security(id);$
2378   if (curr.id().isEmpty()) {$
2379     QString msg;$
2380     msg = QString("Currency '%1' not found.").arg(id);$
2381     throw new MYMONEYEXCEPTION(msg);$
2382   }$
2383   return curr;$
2384 }$

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list