Version: unspecified (using Devel) OS: Linux Even though the first line contains data in all fields, the following data lines have empty fields deleted so data is moved to the left. Does not correctly parse the first line if it contains an empty field (empty fields are ignored). Reproducible: Always Steps to Reproduce: Try to import a csv file where the first line contains data in all fields with follwing data having some empty fields. Try to import a csv file where the first line does not contain data in all fields followed by data which have some empty fields. Actual Results: The imported files have data in all the places. Expected Results: flawless csv import.
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