Bug 304891

Summary: Last line is not imported by CSV Importer if it is only ""
Product: [Applications] KEXI Reporter: Jarosław Staniek <staniek>
Component: Migration/Import/ExportAssignee: Jarosław Staniek <staniek>
Status: CLOSED FIXED    
Severity: normal    
Priority: NOR    
Version: 2.5.0   
Target Milestone: 2.5   
Platform: Compiled Sources   
OS: All   
Latest Commit: Version Fixed In: 2.5.1
Attachments: test data

Description Jarosław Staniek 2012-08-09 22:03:12 UTC
Last line is not imported by CSV Importer if it is only "".

Reproducible: Always

Steps to Reproduce:
1. Create a csv file with these two lines; do not add end of line after the 2nd line.
"a"
""

Actual Results:  
Importing of only "a" column is proposed, no data rows.

Expected Results:  
"a" column is proposed, and one row with one empty text value.
Comment 1 Jarosław Staniek 2012-08-09 22:05:22 UTC
Created attachment 73076 [details]
test data
Comment 2 Jarosław Staniek 2012-08-10 20:39:53 UTC
Git commit c6485a929f8a038c6e1fbb854e51951fb7064af0 by Jaroslaw Staniek.
Committed on 10/08/2012 at 00:04.
Pushed by staniek into branch 'calligra/2.5'.

CSV Import: Import last line even if it is only ""
REVIEW:105950
FIXED-IN:2.5.1

M  +13   -3    kexi/plugins/importexport/csv/kexicsvimportdialog.cpp

http://commits.kde.org/calligra/c6485a929f8a038c6e1fbb854e51951fb7064af0
Comment 3 Jarosław Staniek 2012-08-10 20:51:39 UTC
Git commit 7e45cfbc27148bab59dc204db6a6804b2215b02a by Jaroslaw Staniek.
Committed on 10/08/2012 at 00:04.
Pushed by staniek into branch 'master'.

CSV Import: Import last line even if it is only ""
REVIEW:105950

M  +13   -3    kexi/plugins/importexport/csv/kexicsvimportdialog.cpp

http://commits.kde.org/calligra/7e45cfbc27148bab59dc204db6a6804b2215b02a