Attendee Dialog: duplicates in attendee list are not recognized
Categories
(Calendar :: Dialogs, defect)
Tracking
(Not tracked)
People
(Reporter: MakeMyDay, Unassigned, NeedInfo)
Details
(Keywords: good-first-bug, Whiteboard: [invite attendees dialog])
Updated•10 years ago
|
Reporter | ||
Updated•8 years ago
|
Reporter | ||
Comment 2•8 years ago
|
||
Updated•8 years ago
|
Comment 4•6 years ago
|
||
Hi, I would like to take up this bug.
As I have understood, either I need to maintain a hashmap and check each time a new person is added if his ID is present in the hashmap or I can do it in linear time for each attendee. Is that right?
Comment 5•6 years ago
|
||
That sounds about right. You could possibly re-use https://searchfox.org/comm-central/source/chat/modules/NormalizedMap.jsm#18 and extend it to be a CaseInsensitiveMap. The file would have to be moved to a more common location.
Comment 6•6 years ago
|
||
@Fallen , I dont understand why Case insensitive maps are needed for this task. Shouldnt we compare based on IDs (not names) ?
If you want me to write a general purpose map, sure, I ll be happy to write it. But I dont think we need it for this issue.
Comment 7•6 years ago
|
||
:Fallen, Can you please guide me how to reproduce the bug? I have tried the following:
=>Same person with different mail ids and different people with same mail ids. When we add the person and an id multiple times to the attendee list or different people with same mail id, after reopening the tab , the list is eliminating all the duplicates based on mail id.
Comment 8•6 years ago
|
||
The attendee id could have a different case, I read from comment 0 that it needs to be case insensitive.
Comment 9•6 years ago
|
||
@[:MakeMyDay] @Fallen
I created an event and added two contacts from the address book with different names but same email ids with different cases. The first invitee was removed.
Comment 10•6 years ago
|
||
I'll leave it to MakeMyDay to answer here, it could be that this bug is WFM but maybe he meant something different.
Comment 11•6 years ago
|
||
Can you please clarify ?
Updated•5 years ago
|
Updated•2 years ago
|
Description
•