On 21/03/14 11:02, hironie...@gmail.com wrote:
https://bugs.kde.org/show_bug.cgi?id=332396

             Bug ID: 332396
            Summary: CSV import skips last transaction when no trailing
                     newline is present.
     Classification: Unclassified
            Product: kmymoney4
            Version: 4.6.3
           Platform: Kubuntu Packages
                 OS: Linux
             Status: UNCONFIRMED
           Severity: minor
           Priority: NOR
          Component: general
           Assignee: kmymoney-devel@kde.org
           Reporter: hironie...@gmail.com

When a ledgers csv file is imported in kmymoney and the file ends with a line
containing a transaction this line will be omitted. When a newline is added to
the same file it will import alright.

Reproducible: Always

Steps to Reproduce:
1. Create a file named test.csv containing only a single line like this:
21.03.2014,State Lottery,Congratulations, 5000000.00
2. Open with File → import → CSV and set the columns and parameters
accordingly.
3. Import
Actual Results:
Kmymoney will report it has imported 0 transactions without asking for an
account and set the last line in the dialog to 0.

Expected Results:
A dialog asking for the account should pop up and then 1 transaction should be
imported to this account.


Yes, thanks.

I fixed that bug last December, (......Also, fix inability to import last line of CSV file if it has no return character.), so it is not yet in a stable release, only in the development branch - Git HEAD. There will be a new stable release this summer, but then the distros have to incorporate it.

It's possibly worth your while to move to 4.6.4 (Claydoh PPA) as several other bugs in KMM have been fixed.

Allan
_______________________________________________
KMyMoney-devel mailing list
KMyMoney-devel@kde.org
https://mail.kde.org/mailman/listinfo/kmymoney-devel

Reply via email to