[Kmymoney-devel] [Bug 310786] New: CSV Plugin- Bad import of file with debit field of several blanks

allan agander93 at gmail.com
Tue Nov 27 22:19:24 UTC 2012


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

            Bug ID: 310786
          Severity: normal
           Version: git master
          Priority: NOR
          Assignee: kmymoney-devel at kde.org
           Summary: CSV Plugin- Bad import of file with debit field of
                    several blanks
    Classification: Unclassified
                OS: Linux
          Reporter: agander93 at gmail.com
          Hardware: Ubuntu Packages
            Status: NEW
         Component: general
           Product: kmymoney4

When importing a CSV file derived from a pdf file, on clicking 'Import', the
supposedly empty debit column in the plugin contained several '-.00' values. 
After import, the ledger also showed these, but didn't show the credit values
which should have been in those transactions.

Looking at the 'empty' debit fields, they did appear empty, but in fact
contained all blanks.  A test for QString.isEmpty() therefore failed, and the
debit processing was entered, resulting in the credit values being overwritten.


Reproducible: Always

Steps to Reproduce:
1. As above.
2.
3.
Actual Results:  
No money values were imported.

Expected Results:  
When a credit field is valid, don't import bogus debit entries.

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


More information about the KMyMoney-devel mailing list