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: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


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"
"[email protected]","555 12345","Fred"
"[email protected]",,"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 ...

"[email protected]","Wilma"

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

Changing the last line to ...

"[email protected]","","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.
_______________________________________________
Kdepim-bugs mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kdepim-bugs

Reply via email to