[Bug 297540] New: kaddressbook doesn't correctly handle contacts where email address field has contact name in

Divan Santana divan at s-tainment.co.za
Thu Apr 5 16:30:34 BST 2012


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

            Bug ID: 297540
          Severity: normal
           Version: unspecified
          Priority: NOR
                CC: tokoe at kde.org
          Assignee: kdepim-bugs at kde.org
           Summary: kaddressbook doesn't correctly handle contacts where
                    email address field has contact name in
    Classification: Unclassified
                OS: Linux
          Reporter: divan at s-tainment.co.za
          Hardware: Archlinux Packages
            Status: UNCONFIRMED
         Component: general
           Product: kaddressbook

SUMMARY
If one creates a contact on a platform that creates a contact with the email
field filled in as per below syntax:
Email Addr Field: "Firstname Surname" <Firstname.Surname at example.org>
Instead of the norm:
Email Addr Field: Firstname.Surname at example.org
Then kaddressbook doesn't correctly handle that email address.

STEPS TO REPRODUCE
1. Create a contact with the email address field populated as per:
Email Addr Field: "Firstname Surname" <Firstname.Surname at example.org>
Instead of the norm:
Email Addr Field: Firstname.Surname at example.org
NOTE: One can't do this form kaddressbook as it strips out the email address
nicely. Therefore one would have to do this from:
a) An Android phone syncing with Kontact
or rather (and ease to reproduce this problem)
b) Simply import a contact formulated in this manner.
Import this contact:
BEGIN:VCARD
EMAIL:"Firstname Surname" <Firstname.Surname at example.org>
FN:Firstname Surname
N:Surname;Firstname;;;
UID:8e548460-3843-4e39-9d71-19c7dad93864:521756
VERSION:3.0
END:VCARD

WHAT HAPPENS
2. View this contact in kaddress book. You notice the email address field is
not nicely displayed in kaddressbook search view. Rather you see 
Email "Firstname Surname"
3. Compose an email in kmail search for this contact via To => select => Select
the contact and Add to To field.
You notice the email address field has the below as email address:
Firstname Surname
4. Try send email to this contact. It fails obviously.

Repeat step 1 from previous.

WHAT SHOULD HAPPENS
2. View this contact in kaddress book. You notice the email address field is
correclty displayed in kaddressbook search view. You see:
Firstname.Surname at example.org
3. Compose an email in kmail search for this contact via To => select => Select
the contact and Add to To field.
You notice the email address field has the below as email address:
Firstname.Surname at example.org
4. Try send email to this contact. It works.

OTHER
kaddressbook if you open the contact the email address field displays:
"Firstname Surname" <Firstname.Surname at example.org>
It needs to be able to handle contacts with email address that are formatted in
this manner.

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list