Closed
Bug 1114374
Opened 10 years ago
Closed 10 years ago
Unable to join room as link-clicker if the creator is in the room when logged in (regression)
Categories
(Hello (Loop) :: Server, defect)
Hello (Loop)
Server
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: jesup, Assigned: alexis+bugs)
References
Details
(Keywords: regression, Whiteboard: [loop-server 0.14.3])
Attachments
(1 file)
4.53 KB,
patch
|
rhubscher
:
review+
|
Details | Diff | Splinter Review |
+++ This bug was initially created as a clone of Bug #1111579 +++
Regression (recent; likely due to the server bug I cloned from):
If I create a room while logged in (aurora or nightly; will test beta later) I get added to the room as usual. If the link-clicker tries to join, they're told there are already 2 people in the room. If the creator leaves the room, the clicker can join and then the creator can join.
If I'm not logged in, things work normally.
Reporter | ||
Updated•10 years ago
|
Flags: needinfo?(alexis+bugs)
Comment 2•10 years ago
|
||
I believe this is actually a regression from bug 1107536.
Assignee | ||
Comment 3•10 years ago
|
||
I'm on this, trying to find what the problem is. Mak believes (and I agree) that this is caused by bug 1107536.
I'm currently on a fix for this and will try to hotfix.
Updated•10 years ago
|
Assignee | ||
Comment 4•10 years ago
|
||
We want to always let him a spot available, but the way we were counting him
wasn't actually counting properly when it was a logged in account.
Attachment #8540196 -
Flags: review?(rhubscher)
Assignee | ||
Updated•10 years ago
|
Status: NEW → ASSIGNED
Comment 5•10 years ago
|
||
Comment on attachment 8540196 [details] [diff] [review]
Fix how the room owner is counted.
Review of attachment 8540196 [details] [diff] [review]:
-----------------------------------------------------------------
::: test/rooms_test.js
@@ +994,5 @@
> });
> });
> });
>
> + it("an user should be able to join after the room owner", function(done){
"a user" even if user starts with a u we don't do the liaison because of the sound of the u.
Note: This is a nitpick to try the bugzilla review tool: http://forum.wordreference.com/showthread.php?t=480322&p=2743756#post2743756
@@ +1266,5 @@
> createRoom(hawkCredentials).end(function(err, res) {
> if (err) throw err;
> var roomToken = res.body.roomToken;
> // Alexis joins
> + joinRoom(hawkCredentials, roomToken).end(function(err) {
This changes a bit the test because it means the owner have to be in the room. But well why not :)
Attachment #8540196 -
Flags: review?(rhubscher) → review+
Assignee | ||
Comment 6•10 years ago
|
||
Yes, we need to change the test here, because we need to always retain a spot available for the room owner, and we have no way to know who the room owner is when using session tokens.
https://github.com/mozilla-services/loop-server/commit/d5b98be9e62f0fc4f626c85c31766ca9329c01cb
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: [loop-server 0.14.3]
Updated•10 years ago
|
Assignee | ||
Comment 7•10 years ago
|
||
This is now deployed to prod thanks to Bob, Dean and Richard.
Updated•10 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•