<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>441696</bug_id>
          
          <creation_ts>2021-08-29 12:27:30 +0000</creation_ts>
          <short_desc>QIF Import not importing Payees</short_desc>
          <delta_ts>2024-12-19 10:04:49 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>kmymoney</product>
          <component>importer</component>
          <version>git (master)</version>
          <rep_platform>Microsoft Windows</rep_platform>
          <op_sys>Microsoft Windows</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Hamdsa">hamdsa</reporter>
          <assigned_to name="KMyMoney Devel Mailing List">kmymoney-devel</assigned_to>
          
          
          <cf_commitlink>https://invent.kde.org/office/kmymoney/commit/a6909d07115cb293f27bd5f72860404e125193b8</cf_commitlink>
          <cf_versionfixedin>5.2</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2057061</commentid>
    <comment_count>0</comment_count>
    <who name="Hamdsa">hamdsa</who>
    <bug_when>2021-08-29 12:27:30 +0000</bug_when>
    <thetext>SUMMARY
I have over 20 years worth of data in Quicken that I&apos;m trying to import via QIF files to KMyMoney. I have tried multiple times, using multiple selections within quicken (Individual accounts, selected accounts, various import options i.e. security list, memorized payee list checked etc.) but none of the import the payees. I get all the accounts listing and transactions but none of the transactions have any payee for 200+ accounts.
When I go to Payee section, it&apos;s blank.
I&apos;m using KMyMoney Version 5.1.80-b29cd34c4 on Windows 10 Pro.

STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT
No Payees imported via QIF files

EXPECTED RESULT
Transactions with Payee Info

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2057090</commentid>
    <comment_count>1</comment_count>
    <who name="Thomas Baumgart">tbaumgart</who>
    <bug_when>2021-08-29 14:07:59 +0000</bug_when>
    <thetext>https://invent.kde.org/office/kmymoney/-/blob/master/kmymoney/plugins/qif/import/mymoneyqifreader.cpp#L815</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2057518</commentid>
    <comment_count>2</comment_count>
    <who name="Thomas Baumgart">thb</who>
    <bug_when>2021-08-30 19:50:55 +0000</bug_when>
    <thetext>Git commit a6909d07115cb293f27bd5f72860404e125193b8 by Thomas Baumgart.
Committed on 30/08/2021 at 19:50.
Pushed by tbaumgart into branch &apos;master&apos;.

Don&apos;t remove payee if still referenced

The statement importer creates payees on the fly if they are not known
and destroys all those after the statement processing is done that are
not referenced. Since the reference check was not performed all of them
were removed at the end of the import.

This change forces to throw an exception when a payee is still
referenced when it should be removed which will take care of keeping it
after the import of the statement.

M  +3    -1    kmymoney/mymoney/mymoneyfile.cpp

https://invent.kde.org/office/kmymoney/commit/a6909d07115cb293f27bd5f72860404e125193b8</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>