[Kmymoney-devel] [kmymoney4] [Bug 332396] New: CSV import skips last transaction when no trailing newline is present.

hironiemus at gmail.com hironiemus at gmail.com
Fri Mar 21 11:02:25 UTC 2014


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 at kde.org
          Reporter: hironiemus at 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.

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


More information about the KMyMoney-devel mailing list