Closed
Bug 1193764
Opened 9 years ago
Closed 9 years ago
Direct calls hang if the contact hasn't connected to the server at all
Categories
(Hello (Loop) :: Client, defect, P1)
Hello (Loop)
Client
Tracking
(firefox40 wontfix, firefox41 verified, firefox42 verified, firefox43 verified)
VERIFIED
FIXED
mozilla43
People
(Reporter: standard8, Assigned: standard8)
References
Details
(Keywords: regression)
Attachments
(1 file)
9.49 KB,
patch
|
dmosedale
:
review+
ritu
:
approval-mozilla-aurora+
ritu
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
STR
1) Start up a browser and sign-into FxA via Hello
2) Create a contact to an email address that should never have tried to connect to the system
3) Start a direct call to that contact
Actual Results
=> The conversation window appears and stays at "Connecting..."
Expected Results
=> The conversation window appears, shows "Connecting..." for a while, and then shows "user unavailable" (or whatever we should show).
Assignee | ||
Comment 1•9 years ago
|
||
The basic issue here is that we're trying to squeeze a number into a string which the action validator doesn't like, and so nothing the connection failure isn't being handled.
I've done some changes to use the failure details rather than the rest errnos - so one less place that's being used in the UI. Also included is extra test coverage to make sure we cover that branch.
Attachment #8647013 -
Flags: review?(dmose)
Comment 2•9 years ago
|
||
Interestingly, the failure mode I see without this patch is not "user unavailable", but "there was a problem" (approximate german translation :-).
Comment 3•9 years ago
|
||
Comment on attachment 8647013 [details] [diff] [review]
Loop's Direct calls hang if the contact hasn't connected to the server at all.
Review of attachment 8647013 [details] [diff] [review]:
-----------------------------------------------------------------
r=dmose
Attachment #8647013 -
Flags: review?(dmose) → review+
Assignee | ||
Comment 5•9 years ago
|
||
This was a regression from bug 1120003.
Blocks: 1120003
status-firefox40:
--- → wontfix
status-firefox41:
--- → affected
status-firefox42:
--- → affected
status-firefox43:
--- → affected
Assignee | ||
Comment 6•9 years ago
|
||
Comment on attachment 8647013 [details] [diff] [review]
Loop's Direct calls hang if the contact hasn't connected to the server at all.
Approval Request Comment
[Feature/regressing bug #]: Bug 1120003
[User impact if declined]: When attempting a direct call, in some circumstances the window may stop at "Connecting" and not report that the callee is unavailable.
[Describe test coverage new/current, TreeHerder]: Includes increased unit test coverage to handle this case.
[Risks and why]: Low, simple small fix to handle the failure reason properly
[String/UUID change made/needed]: None
Attachment #8647013 -
Flags: approval-mozilla-beta?
Attachment #8647013 -
Flags: approval-mozilla-aurora?
Updated•9 years ago
|
Rank: 15
Flags: qe-verify+
Priority: -- → P1
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla43
Comment on attachment 8647013 [details] [diff] [review]
Loop's Direct calls hang if the contact hasn't connected to the server at all.
Patch has been in Nightly for a few days, seems safe to uplift to Aurora and Beta.
Attachment #8647013 -
Flags: approval-mozilla-beta?
Attachment #8647013 -
Flags: approval-mozilla-beta+
Attachment #8647013 -
Flags: approval-mozilla-aurora?
Attachment #8647013 -
Flags: approval-mozilla-aurora+
Comment 9•9 years ago
|
||
Flags: in-testsuite+
Comment 10•9 years ago
|
||
Comment 11•9 years ago
|
||
Reproduced the initial issue using old Nightly from 2015-08-12, verified that the issue is fixed using Firefox 41 beta 3, latest Developer Edition 42.0a2 and latest Nightly 43.0a1 across platforms (Windows 7 64-bit, Ubuntu 14.04 32-bit and Mac OS X 10.10.4).
Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in
before you can comment on or make changes to this bug.
Description
•