Bug 302209

Summary: Import from CSV is incorrect after change "Start at Line"
Product: [Applications] KEXI Reporter: Oleg Kukharchuk <oleg.kuh>
Component: Migration/Import/ExportAssignee: Jarosław Staniek <staniek>
Status: CLOSED FIXED    
Severity: normal CC: oleg.kuh, stacey_fiser
Priority: NOR    
Version: unspecified   
Target Milestone: 2.5   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: csv file for import
import result
import wizard settings

Description Oleg Kukharchuk 2012-06-19 20:19:05 UTC
Data imported incorrect after change "Start at Line" in CSV import wizard.

1. All rows are imported.
2. Data in some fields are lost.

Reproducible: Always

Steps to Reproduce:
1. start importing wizard
2. change value in "Start at Line".
3. import data.
4. Verify result


Actual Results:  
Rows less than specified in "Start at Line" are imported

Expected Results:  
Rows less than specified in "Start at Line" should not be imported
Comment 1 Oleg Kukharchuk 2012-06-19 20:20:19 UTC
Created attachment 71962 [details]
csv file for import
Comment 2 Oleg Kukharchuk 2012-06-19 20:21:06 UTC
Created attachment 71963 [details]
import result
Comment 3 Oleg Kukharchuk 2012-06-19 20:21:43 UTC
Created attachment 71964 [details]
import wizard settings
Comment 4 Oleg Kukharchuk 2012-06-22 21:08:09 UTC
Git commit 5b70103d4cdd3d611ce7c7af12415ef3d114a5de by Oleg Kukharchuk.
Committed on 22/06/2012 at 22:59.
Pushed by okukharchuk into branch 'master'.

Fixed import from csv when "Start at Line" value changed
REVIEW:105309

M  +7    -2    kexi/plugins/importexport/csv/kexicsvimportdialog.cpp

http://commits.kde.org/calligra/5b70103d4cdd3d611ce7c7af12415ef3d114a5de
Comment 5 Oleg Kukharchuk 2012-06-22 21:10:55 UTC
Git commit 2e4433ceb84824e05eca490b61348805e5235cec by Oleg Kukharchuk.
Committed on 22/06/2012 at 22:59.
Pushed by okukharchuk into branch 'calligra/2.4'.

Fixed import from csv when "Start at Line" value changed
REVIEW:105309

M  +7    -2    kexi/plugins/importexport/csv/kexicsvimportdialog.cpp

http://commits.kde.org/calligra/2e4433ceb84824e05eca490b61348805e5235cec
Comment 6 Oleg Kukharchuk 2012-06-22 21:11:56 UTC
Git commit 1d5b4c2dee1b24683a2caabd262151618fe52eaf by Oleg Kukharchuk.
Committed on 22/06/2012 at 22:59.
Pushed by okukharchuk into branch 'calligra/2.5'.

Fixed import from csv when "Start at Line" value changed
REVIEW:105309

M  +7    -2    kexi/plugins/importexport/csv/kexicsvimportdialog.cpp

http://commits.kde.org/calligra/1d5b4c2dee1b24683a2caabd262151618fe52eaf