Closed Bug 1121413 Opened 11 years ago Closed 11 years ago

[Loop] Incorrect error message shown when trying to join a full room

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
blocker

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: isabelrios, Assigned: jaoo)

References

Details

(Whiteboard: [Room1.1.1_TestRun1][tef-triage])

Attachments

(2 files)

Attached image 2015-01-14-08-24-57.png
Flame 2.0 device: Gecko-5f9dc54 Gaia-31d6c94 Loop master version User A, B and C logged in mobile loop client STR 1. User A creates and shares a room with user B and C 2. User A and B joins the room 3. User C tries to join the room EXPECTED An error message is shown: Opps! You can't join because there are already two people in this room. ACTUAL The error message is a general one, not the error message defined when joining a full room, Oops! That didn't work as expected. Why don't we give it another try?. Please see screenshot
Blocks: 1097684
Jose Antonio, as far as I remember you implemented some of these error cases when joining a Room, can you have a look at it when you have time? Thanks a lot!
Flags: needinfo?(josea.olivera)
Assignee: nobody → josea.olivera
Flags: needinfo?(josea.olivera)
Status: NEW → ASSIGNED
Comment on attachment 8548992 [details] [review] Pointer to Github PR https://github.com/mozilla-b2g/firefoxos-loop-client/pull/451 Cristian, would you mind to review this please? Nothing crazy. Thanks!
Attachment #8548992 - Flags: review?(crdlc)
Comment on attachment 8548992 [details] [review] Pointer to Github PR https://github.com/mozilla-b2g/firefoxos-loop-client/pull/451 Your code looks good although I would prefer GET /Rooms/:Token will return the room object instead of returning an error when it is full. Imagine I need to know something related to the room but, as this is full, I cannot know the name, creationTime, etc being the owner... Maybe a field "state" for room objects would make sense for me, of course, this is only my point of view and I could be wrong as usual because I don't know all things related to server and HTTP APIs.
Attachment #8548992 - Flags: review?(crdlc) → review+
Severity: normal → blocker
Whiteboard: [Room1.1.1_TestRun1] → [Room1.1.1_TestRun1][tef-triage]
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Now the message shown is correct. Verified with Fire E 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.

Attachment

General

Creator:
Created:
Updated:
Size: