Closed Bug 1121452 Opened 9 years ago Closed 9 years ago

[Loop] Contact's name isn't shown below the room name when owner cancels sending the url a contact to share the room

Categories

(Firefox OS Graveyard :: Gaia::Loop, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: lolimartinezcr, Unassigned)

References

Details

(Whiteboard: [Room1.1.1_TestRun1])

Flame
2.0
Gecko-5f9dc54
Gaia-31d6c94
Loop version: master/51a04dd

Pre-requisites:
User A logged in Mobile Loop application.
User A has already created a room but has not invited anyone. The room name is shown in the room list.
User B is a contact saved  with name, phone number and email.

STRs:
1. User A: On Rooms list view, long tap on a room created by user A but not shared with anyone yet
2. Tap on Share room option
3. On Contact list view, select a valid contact (User B: with email and phone number)
4. Select share via email.
5. Once Email app is open, don't send mail  and close the Email app. (ER1)
6. Check Room list view (ER2)

Expected result:
ER1. The url is not shared with the contact. User A is taken back to Room list view
ER2. Contact's name is shown below the room name

Actual result:
The url is not shared with the contact. User A is taken back to Room list view.  Contact's name *isn't shown* below the room name.


Also is reproducible
STRs:
1. User A: On Rooms list view,  tap on a room created in ">"
2. One edit the rooom, tap on "Pick contact" button.
3. On Contact list view, select a valid contact (User B: with email and phone number)
4. Select share via email.
5. Once Email app is open, don't send mail  and close the Email app. (ER1)
5. Check Room list view
Blocks: 1097745
Whiteboard: [Room1.1.1_TestRun1]
Maybe I misunderstood the bug but isn't it the expected behavior? If you don't send the email then you are not sharing the room so there is no name below room name in the item.
Flags: needinfo?(oteo)
Flags: needinfo?(lolimartinezcr)
Summary: [Loop] Contact's name isn't shown below the room name when owner cancels sending the url to a contact to share the room via E-mail → [Loop] Contact's name isn't shown below the room name when owner cancels sending the url a contact to share the room
Summary: [Loop] Contact's name isn't shown below the room name when owner cancels sending the url a contact to share the room → [Loop] Contact's name isn't shown below the room name when owner cancels sending the url to a contact to share the room via E-mail
Yes it's, because the Loop application is not able to know if the e-mail has been sent or not. 

So as soon as the e-mail application is opened and independently if later the e-mail has been sent, kept as a draft or discarded, it hould be updated with the contact shared in the invitees list and in the Room list.

When you send the URL via SMS application, you can verify that that application is behaving in that way, that was the already agreed when we implemented the last 1.1 Loop version.
Flags: needinfo?(oteo)
I agree with Maria Angeles. 

Also when you do this steps but share room via SMS, so as soon as the SMS application is opened and independently if later the SMS has been sent, kept as a draft or discarded, it is updated with the contact shared in the invitees list and in the Room list.

SMS and email should be similar behavior.
Flags: needinfo?(lolimartinezcr)
Agree although please move to proper component, nothing wrong in Loop app AKAIK
Sorry, my fault.
SMS is the application that has the issue, E-mail is working. 
Closing this bug as Invalid, and sorry again
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.