Closed
Bug 1120135
Opened 9 years ago
Closed 9 years ago
Invitees list in Room details is not correctly updated if an invitee contact is removed from the Agenda
Categories
(Firefox OS Graveyard :: Gaia::Loop, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: oteo, Assigned: paco)
References
Details
(Whiteboard: [Room1.1.1_TestRun1][tef-triage])
Attachments
(1 file)
Reproduced with flame device over latest 2.0 FxOS version and master Loop version: Prerequisite: Users A and B are registered in Loop and User A has Contact B included in his Agenda STR: 1.) User A creates a Room1 and shares it with user B. In the Room List of Device A appears the Room1 and Contact B as an entry of Room list. Besides in the Room1 details, Contact B is shown in the Invitees list. 2.) Remove Contact B from the Agenda of Device A Actual Result: In the Room List of Device A appears the Room1 and the corresponding identity of Contact B (e-mail or telephone number) as an entry of Room list but the Invitees list still shows the Contact B name. Expected Result: In the Room List of Device A should appear the corresponding identity of Contact B (e-mail or telephone number) and NOT the contact B name as Contact B has been deleted from the Agenda.
Reporter | ||
Updated•9 years ago
|
QA Whiteboard: crdlc@tid.es, borja.bugzilla@gmail.com, lolimartinezcr@hotmail.com, isabelrios@aurigae.com, javier.deprado@telefonica.com
Reporter | ||
Updated•9 years ago
|
Blocks: Loopmov_1_1_1
Comment 1•9 years ago
|
||
Hi Paco, Borja AFAIK we show the list directly with the name which was stored on DB. We could have two possible solutions: 1) DB updates the invitees list when a contact changes in mozContact, etc... It would be ideal but I think that it is very difficult and risky at this point. 2) Maybe being more conservative we could update each item in this list (common cases between 1..5 registers thought) with ContactsHelper.find() after rendering the list. I don't know how you guys see this issue. What do you think?
Flags: needinfo?(pacorampas)
Flags: needinfo?(borja.bugzilla)
Comment 2•9 years ago
|
||
In this case I would go for the 2nd option, because the first one is not going to fit with the deadline we have. I'll try to sort this out and create a patch asap. Thanks!
Flags: needinfo?(pacorampas)
Flags: needinfo?(borja.bugzilla)
Updated•9 years ago
|
Assignee: nobody → borja.bugzilla
Updated•9 years ago
|
Whiteboard: [Room1.1.1_TestRun1]
Updated•9 years ago
|
Status: NEW → ASSIGNED
Reporter | ||
Updated•9 years ago
|
Whiteboard: [Room1.1.1_TestRun1] → [Room1.1.1_TestRun1][tef-triage]
Reporter | ||
Updated•9 years ago
|
QA Whiteboard: crdlc@tid.es, borja.bugzilla@gmail.com, lolimartinezcr@hotmail.com, isabelrios@aurigae.com, javier.deprado@telefonica.com
Assignee | ||
Updated•9 years ago
|
Assignee: borja.bugzilla → pacorampas
Assignee | ||
Comment 3•9 years ago
|
||
Assignee | ||
Comment 4•9 years ago
|
||
With the patch attached we can update a contact info and the changes are reflected on the list of invitees of a room. But there is an issue if you delete a contact and then you create a new user with the same identity of the deleted user, then appears the issue only if you share a room with the new user in a room with the deleted user. STR: 0- Create a user with name "A" and tel or email "XXX". 1- Open Fx Hello and create a room. 2- Share the room with the contact "A" tapping on the button "pick a contact". 3- Open the contacts app and delete the contact "A". 4- Create a contact "B" with the same telephone number or email of "A". 5- Now, go to Fx Hello and share the room with "B". Result: We have a list of two invitees. Expected: Have only one item because Contact "A" and contact "B" have the same Fx Hello identity. What is the better way to fix it?
Flags: needinfo?(oteo)
Updated•9 years ago
|
Assignee: pacorampas → frsela
Assignee | ||
Updated•9 years ago
|
Assignee: frsela → pacorampas
Assignee | ||
Updated•9 years ago
|
Attachment #8551241 -
Flags: review?(borja.bugzilla)
Comment 5•9 years ago
|
||
Comment on attachment 8551241 [details] [review] patch in github Great job Paco!! Thanks for the patch!
Attachment #8551241 -
Flags: review?(borja.bugzilla) → review+
Assignee | ||
Comment 6•9 years ago
|
||
merged: f8e0c8d831cbc23d169f3b165b07b2d55756c668 :D
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Reporter | ||
Updated•9 years ago
|
Flags: needinfo?(oteo)
Comment 7•9 years ago
|
||
Tested and it is working. Now in the Room List of Device A appears the corresponding identity of Contact B (e-mail or telephone number) and NOT the contact B name as Contact B has been deleted from the Agenda. FireE Commercial version 2.0 Loop version:1.1.1/d4d6d37
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•