Summary: | import does not parse csv files correctly - skips empty fields | ||
---|---|---|---|
Product: | [Applications] kaddressbook | Reporter: | John Gutierrez <jtgutier> |
Component: | general | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | tokoe |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | Test CSV File |
Description
John Gutierrez
2010-07-02 05:27:37 UTC
Hej, can you attach an example document, please? Ciao, Tobias Created attachment 48601 [details]
Test CSV File
The fields are not quoted. The delimiter is a semi-colon. The first record describes the fields (to be ignored)
On Saturday July 3 2010 01:48:02 pm Tobias Koenig wrote:
> https://bugs.kde.org/show_bug.cgi?id=243405
>
>
> Tobias Koenig <tokoe@kde.org> changed:
>
> What |Removed |Added
> -------------------------------------------------------------------------
> --- Status|UNCONFIRMED |NEEDSINFO
> Resolution| |WAITINGFORINFO
> Severity|major |normal
>
>
>
>
> --- Comment #1 from Tobias Koenig <tokoe kde org> 2010-07-03 22:48:01
> --- Hej,
>
> can you attach an example document, please?
>
> Ciao,
> Tobias
Tobias,
I've uploaded the attached file to my bug report. It is an unquoted, semi-
colon delimited file. The first row shows the fields; not to be imported.
I don't especially like the parser's handling of the import data. I want
"Juan & Lisa" as the "Given_Name". I noticed that it imports "Dr. Norma" as
the 'Given_Name", but and handles "Juan & Lisa" by showning "& Lisa" as an
"Additional Name". "David John" is handled as Given and Additional.
The name field in the entry screen does not even show Given, Family,
Additional, Honorary Prefix/Suffix. I don't feel that a parser is a good
idea in this case. It also limits what I have been doing with the 'older
version".
I also noticed (separate bug) that the migration tool brought in
"Anniversary" and shows in the vcf file a "Kaddressbook" defined field and
shows up when exporting to a CSV file. The migration tool also brought in
the "Blog" field as a defined field, but DOES NOT show up when exporting to
csv! Inconsistency tends to drive me nuts. I want all of the fields shown
in the vcf file, otherwise I am missing data.
John G.
Hej, can't reproduce it here with the file you send under latest development version. The empty fields are shown correctly in the import dialog and the contacts are imported correctly as well. Ciao, Tobias |