[Kmymoney-devel] [kmymoney] [Bug 338772] KMyMoney crashed while importing gnucash data

Thomas Baumgart ipwizard at users.sourceforge.net
Sun Oct 5 08:01:09 UTC 2014


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

--- Comment #10 from Thomas Baumgart <ipwizard at users.sourceforge.net> ---
A strange first split, showing a quantity of zero having a value while the
second split of the transaction seems to show correct values. Not sure in which
context this could be valid at all or how one can construct such a transaction.
Nevertheless, the KMyMoney importer should not crash, that's for sure.

  <trn:splits>
    <trn:split>
      <split:id type="guid">3f5850433a06212fa573b1221ab17ec2</split:id>
      <split:memo>Realized Gain/Loss</split:memo>
      <split:reconciled-state>n</split:reconciled-state>
      <split:value>80000/100</split:value>
      <split:quantity>0/100000</split:quantity>
      <split:account
type="guid">568b0b8ffa5584493960a9b97e7cc93b</split:account>
      <split:lot type="guid">8813b72f9bc537f51a2654b5be83a471</split:lot>
      <split:slots>
        <slot>
          <slot:key>gains-source</slot:key>
          <slot:value type="guid">1037a1c99592722061a0742a47d8fc1f</slot:value>
        </slot>
      </split:slots>
    </trn:split>
    <trn:split>
      <split:id type="guid">fcc21b4cee86b2f8de32cb6d9063428a</split:id>
      <split:memo>Realized Gain/Loss</split:memo>
      <split:reconciled-state>n</split:reconciled-state>
      <split:value>-80000/100</split:value>
      <split:quantity>-80000/100</split:quantity>
      <split:account
type="guid">76c0a62de5ca4047cb09a56e4f70b1b9</split:account>
    </trn:split>
  </trn:splits>

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


More information about the KMyMoney-devel mailing list