[Kmymoney-devel] [Bug 299637] New: Difficulty importing small CSV file following large file, using same profile.

allan agander93 at gmail.com
Tue May 8 16:41:49 UTC 2012


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

            Bug ID: 299637
          Severity: normal
           Version: git master
          Priority: NOR
          Assignee: kmymoney-devel at kde.org
           Summary: Difficulty importing small CSV file following large
                    file, using same profile.
    Classification: Unclassified
                OS: Linux
          Reporter: agander93 at gmail.com
          Hardware: Ubuntu Packages
            Status: NEW
         Component: general
           Product: kmymoney4

If only a few entries are imported from a large file, the resulting
"TrailerLines" value can prevent the
next small file from importing most of its lines.  It could even be that just a
single line gets imported, and, if that is a header line with just a column or
two, it becomes impossible to advance into the wizard to access and change the
'last line' widget setting, and the config file would need to be edited.

Reproducible: Sometimes

Steps to Reproduce:
1. Import a large csv file, but when importing, opt to import only, say 10
lines.
2. Proceed with the import,  clicking 'Finish' at the end, to save the
settings.
3. The m_trailerLines value will be high (the difference between the last line
imported and the true last line).
4. Now import a small csv file.
5. The number of lines displayed should be the true last line minus the
m_trailerLines value, but because m_trailerLines has such a high value, only
the first line might be displayed. Even if some lines are visible, selecting a
different field separator, usually produces the symptoms.
6. Click 'Next'. If only one column is present on the visible line, it is not
possible to select columns for the various fields.  Because no columns have
been selected, the conditions to advance to the next page have not been met, so
it is not possible to advance.  Because it is not possible to advance, it is
not possible to change the start/end line settings.

Actual Results:  
The file cannot be imported using the present profile.  It is necessary either
to edit this profile's trailer line setting or to create a new profile.

Expected Results:  
It should not be possible for one import to leave behind a condition which can
prevent certain other files from being imported.

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


More information about the KMyMoney-devel mailing list