Closed Bug 515014 Opened 15 years ago Closed 15 years ago

Organizer in Attendee Dialog is not quoted if Display-Name contains a comma

Categories

(Calendar :: General, defect)

Lightning 0.9
x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 427949

People

(Reporter: fxpoffspring, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 (.NET CLR 3.5.30729)
Build Identifier: 2008091719

If the organizer display name contains a comma e.g. Lastname, Firrstname this value is not correctly quoted in the attendee dialog. This results in the problem that the email address of the organizer is not parsed correctly in the sun-calendar-event-dialog-attendees.xml.

The problem occurs here:
this.mHeaderParser.parseHeadersWithArray(fieldValue, emailAddresses, names, fullNames);

This methods returns two values: First the value 'Lastname' and second the correct email 'mymail@address'. But only the first value is used for further steps and saved in the appointment.

Reproducible: Always

Steps to Reproduce:
1. Change the mail account of the calendar display name to Lastname, Firstname
2. Open the dialog to create a new appointment
3. Try to add a new attendee
Actual Results:  
After step 3 in the add attendee dialog the organizer display name is not quoted.


Expected Results:  
After step 3 in the add attendee dialog the organizer display name should be quoted so that further actions can parse the correct email address
Same as Bug 427949?
Version: unspecified → Lightning 0.9
Yes, it's the same. Marked as duplicate.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.