<?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>451000</bug_id>
          
          <creation_ts>2022-03-01 11:46:12 +0000</creation_ts>
          <short_desc>parse error when importing OFX file</short_desc>
          <delta_ts>2022-05-03 02:02:26 +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>5.1.2</version>
          <rep_platform>Microsoft Windows</rep_platform>
          <op_sys>Microsoft Windows</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>450426</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>critical</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="M Both">both</reporter>
          <assigned_to name="KMyMoney Devel Mailing List">kmymoney-devel</assigned_to>
          <cc>LibreStephen</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2108725</commentid>
    <comment_count>0</comment_count>
    <who name="M Both">both</who>
    <bug_when>2022-03-01 11:46:12 +0000</bug_when>
    <thetext>SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***
When I try to import an .OFX transactions file into Version 5.1.2-a75e034b4, this is an example of the error message:
Unable to import &apos;C:/Users/both/Downloads/NatWest-May2021-20220214.ofx&apos; using the OFX importer plugin. The plugin returned the following error:
Unable to parse file

STEPS TO REPRODUCE
1. download .OFX data file
2. import
3. get error

I tried removing the OFX Importer from configuration and then readding but it mdae no difference.

OBSERVED RESULT
I note that the same files can be imported into version 5.0.6 without difficulty (I have both KMyMoney versions installed on my laptop).  I sometimes get parse errors when I use  JSON / Javascript if there are certain characters (especially , &apos; and £) being imported so I use a regex in a PHP file to process these first.  Just a thought, probably nothing to do with the error but if the 

Even with that version, it doesn&apos;t alwaus get the anmes right and I have to manually correct it, but that is a minor issue.

EXPECTED RESULT
update transactions files

SOFTWARE/OS VERSIONS
Windows: 10 64bit


KDE Frameworks Version: Version 5.89.0
Qt Version: Version 5.15.2 (built against 5.15.2)

ADDITIONAL INFORMATION</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2108727</commentid>
    <comment_count>1</comment_count>
    <who name="Thomas Baumgart">tbaumgart</who>
    <bug_when>2022-03-01 11:57:20 +0000</bug_when>
    <thetext>*** Bug 450999 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2108728</commentid>
    <comment_count>2</comment_count>
    <who name="Thomas Baumgart">tbaumgart</who>
    <bug_when>2022-03-01 11:57:51 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 450426 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>