Bug 234032

Summary: problem applying a CSV import model
Product: [Applications] kaddressbook Reporter: p92
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: tokoe
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description p92 2010-04-11 12:05:16 UTC
Version:           4.4.2 (using 4.4.2 (KDE 4.4.2), Kubuntu packages)
Compiler:          cc
OS:                Linux (i686) release 2.6.31-20-generic

- Launch Kontact and go to KAB
1- Go to File menu/Import/Import CSV file...
2- select a .csv file to import 
- replace the 'Undefined' heading by proper ones from the list of headings.
- **** save the MODEL before importing
- click on 'Ok'
- select the address book you wish the contact(s) to be.

now redo another import steps 1 and 2
then click on USE MODEL,
choose your saved model
as soon as you click OK to use that model  all data from imported file disappear from the import window

so it is currently impossible to reuse an import model.
Comment 1 Tobias Koenig 2010-04-11 15:28:41 UTC
SVN commit 1113676 by tokoe:

Do not emit the 'Skip first row' signal twice, that will
confuse the update mechanism and we end up with an empty model.

BUG: 234032


 M  +5 -0      csvimportdialog.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1113676