Bug 258624

Summary: Import of CSV file does not map data fields correctly
Product: [Applications] kaddressbook Reporter: enrico.gottardo
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: tokoe
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Snapshot of the CSV inport GUI

Description enrico.gottardo 2010-12-02 22:36:15 UTC
Created attachment 54010 [details]
Snapshot of the CSV inport GUI

Version:           unspecified (using KDE 4.5.3) 
OS:                Linux

Importing a CSV files of contacts results in having some of the records with their data fields correctly mapped, while some of the records have some of their data mapped in the wrong fields (e.g. "tel. nr." under the "office address" column), as shown in the attached snapshot of the CSV inport GUI.

Reproducible: Always

Steps to Reproduce:
Import a CSV contact file

Actual Results:  
Some of the records have some of their data mapped in the wrong fields

Expected Results:  
All records with their data fields correctly mapped

Contacts file in CSV format generated by MS Outlook 2007.

The CSV is correctly imported by other applications (i.e. OpenOffice Calc)
Comment 1 Tobias Koenig 2010-12-03 18:41:55 UTC
Hej Enrico,

can you attach the CSV file here or send me via private mail, please?

Ciao,
Tobias
Comment 2 enrico.gottardo 2010-12-06 21:11:39 UTC
Hija Tobias,

Sure; attached please find the CSV file.

Thanks
Enrico

>----Messaggio originale----
>Da: tokoe@kde.org
>Data: 03/12/2010 18.41
>A: <enrico.gottardo@libero.it>
>Ogg: [Bug 258624] Import of CSV file does not map data fields correctly
>
>https://bugs.kde.org/show_bug.cgi?id=258624
>
>
>
>
>
>--- Comment #1 from Tobias Koenig <tokoe kde org>  2010-12-03 18:41:55 ---
>Hej Enrico,
>
>can you attach the CSV file here or send me via private mail, please?
>
>Ciao,
>Tobias
>
>-- 
>Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
>------- You are receiving this mail because: -------
>You reported the bug.
>
Comment 3 Tobias Koenig 2010-12-09 18:53:40 UTC
Hej Enrico,

I can't find any CSV file, forgot to attach? ;)

Ciao,
Tobias
Comment 4 Tobias Koenig 2010-12-13 17:46:16 UTC
Hej Enrico,

Thanks for the attachment!
I have rewritten the CSV parser for KDE 4.6 and the file is parsed correctly now AFAICS (all phone numbers in one column).

Ciao,
Tobias
Comment 5 enrico.gottardo 2010-12-13 23:22:06 UTC
Thanks Tobias,

looking forward the 4.6 then!

Ciao
Enrico