[Bug 236125] New: Import skips empty CSV cells

Ken West ken.west at citybibleforum.org
Mon May 3 07:57:27 BST 2010


https://bugs.kde.org/show_bug.cgi?id=236125

           Summary: Import skips empty CSV cells
           Product: kaddressbook
           Version: unspecified
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: ken.west at citybibleforum.org
                CC: tokoe at kde.org


Version:            (using KDE 4.4.2)
OS:                Linux
Installed from:    Ubuntu Packages

The import CSV function skips empty cells.

For example, with the following CSV file ...

"Email (preferred)","Business Phone","Formatted Name"
"fred at gmail.com","555 12345","Fred"
"wilma at gmail.com",,"Wilma"

... the business phone for Wilma is empty (represented by a zero-length
string).

If this is imported into kaddressbook, using the mapping suggested by the first
line of the CSV file, and ignoring the first line: a contact is created for
Fred with phone and email as expected; a contact is created for Wilma, but the
name is "" and the phone is "Wilma".

It's interpreted as if the last line was ...

"wilma at gmail.com","Wilma"

... that is, the second, empty field is ignored.

Changing the last line to ...

"wilma at gmail.com","","Wilma"

... produces the desired behaviour.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list