[Kmymoney-devel] [Bug 310794] New: CSV Plugin- Crash if memoColumn value in a saved profile does not match the file to be imported.

allan agander93 at gmail.com
Wed Nov 28 00:27:15 UTC 2012


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

            Bug ID: 310794
          Severity: normal
           Version: git master
          Priority: NOR
          Assignee: kmymoney-devel at kde.org
           Summary: CSV Plugin- Crash if memoColumn value in a saved
                    profile does not match the file to be imported.
    Classification: Unclassified
                OS: Linux
          Reporter: agander93 at gmail.com
          Hardware: Ubuntu Packages
            Status: NEW
         Component: general
           Product: kmymoney4

A bank may change the format of its statement file.  If a file which is being
loaded has fewer columns than the file whose values were saved in the profile,
and if the saved memocolumn value is out of bounds for the present file, the
plugin will crash.
Other column settings are loaded into their comboboxes, and out of bounds
values are not accepted.  As the memocolumn can have more than one value, the
profile values are loaded into a QStringList();

Reproducible: Always

Steps to Reproduce:
1. Load a CSV file using a profile which was produced by a newer statement
format with more columns.
2. If the memocolumn in the profile is set to capture the account balance,
which tends to be the last column, that column value may not be present in an
earlier version of the statement for the same account.
3. Attempt to load that file via the CSV plugin.
Actual Results:  
Crash.

Expected Results:  
No crash.  Out of bounds settings should not be accepted.

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


More information about the KMyMoney-devel mailing list