[kmymoney] [Bug 422561] A half-empty PRICEPAIR causes app to crash when attempting to update prices

Dawid Wróbel bugzilla_noreply at kde.org
Sun Jun 7 03:20:56 BST 2020


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

--- Comment #1 from Dawid Wróbel <me at dawidwrobel.com> ---
I attempted to add !pair.second.isEmpty() check to the expression mentioned in
2) and 3), and while that stopped the crashing immediately, it... reversed the
PRICEPAIR in the .kmy file: 

 <PRICEPAIR to="" from="PLN">
   <PRICE source="Transaction" date="2013-11-12" price="1/1"/>
   <PRICE source="Transaction" date="2014-02-03" price="1/1"/>
   <PRICE source="Transaction" date="2019-06-28" price="1/1"/>
   <PRICE source="Transaction" date="2019-10-04" price="1/1"/>
   <PRICE source="KMyMoney Currency" date="2020-03-20" price="1/1"/>
  </PRICEPAIR>

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list