Closed
Bug 1037171
Opened 10 years ago
Closed 10 years ago
Find my device is enabled on FXA login when fmd login is cancelled
Categories
(Firefox OS Graveyard :: FindMyDevice, defect)
Tracking
(blocking-b2g:2.0+, b2g-v2.0 verified, b2g-v2.1 verified)
People
(Reporter: mgoodwin, Unassigned)
References
Details
Attachments
(2 files)
STR: 1) go to settings -> find my device 2) Click 'create an account or sign in' 3) cancel (using the X at top left) 4) Go to FXA in settings 5) login 6) observe FMD is now enabled.
Updated•10 years ago
|
blocking-b2g: --- → 2.0?
Target Milestone: --- → 2.0 S6 (18july)
Reporter | ||
Comment 1•10 years ago
|
||
ggp, surely we don't need oncancel for this? onerror is fired when a user cancels anyway, and if we have an error case the user will need to click 'login' again anyway, so we can just reset _interactiveLogin on error, right?
Flags: needinfo?(ggoncalves)
Comment 2•10 years ago
|
||
That's correct, and that's how I hacked around it yesterday. However, the fact that onerror fires is a bug in FxA's API; the correct behavior would have been for oncancel to fire. So once they fix it we'll still need to handle oncancel, as I expect that onerror will stop firing then. It won't hurt to reset _interactiveLogin on error as well, I think.
Flags: needinfo?(ggoncalves)
Reporter | ||
Comment 3•10 years ago
|
||
OK; I'll ensure we address both of these cases.
Comment 4•10 years ago
|
||
From a product perspective, I recommend we block on this as FMD is enabled with out direct user action. Please 2.0+ this
Updated•10 years ago
|
blocking-b2g: 2.0? → 2.0+
Comment 6•10 years ago
|
||
Yes, this can be added today. Is this going to be a user story? Should I add it to the functional test run?
Reporter | ||
Comment 7•10 years ago
|
||
Attachment #8455240 -
Flags: review?(arthur.chen)
Reporter | ||
Updated•10 years ago
|
Attachment #8455240 -
Flags: review?(arthur.chen)
Updated•10 years ago
|
Flags: in-moztrap?(kglazko) → in-moztrap+
Comment 8•10 years ago
|
||
(In reply to kglazko from comment #6) > Yes, this can be added today. Is this going to be a user story? Should I add > it to the functional test run? This is not a user story
Reporter | ||
Updated•10 years ago
|
Attachment #8455240 -
Flags: review?(arthur.chen)
Comment 9•10 years ago
|
||
Comment on attachment 8455240 [details] [review] Ensure FMD is not automatically enabled after cancellation or error Thanks for the patch. r=me with the nits addressed.
Attachment #8455240 -
Flags: review?(arthur.chen) → review+
Reporter | ||
Comment 10•10 years ago
|
||
(In reply to Arthur Chen [:arthurcc] from comment #9) > Thanks for the patch. r=me with the nits addressed. Nits addressed. Many thanks.
Keywords: checkin-needed
Comment 11•10 years ago
|
||
Master: https://github.com/mozilla-b2g/gaia/commit/827d37c5ad73ba232ca5e3c51a2b512287fc55b5
Status: NEW → RESOLVED
Closed: 10 years ago
status-b2g-v2.0:
--- → affected
status-b2g-v2.1:
--- → fixed
Keywords: checkin-needed
Resolution: --- → FIXED
Comment 12•10 years ago
|
||
v2.0: https://github.com/mozilla-b2g/gaia/commit/bc8af54dd40e8d3ffbb49099dc6fc760d5406055
Comment 13•10 years ago
|
||
This issue has been verified successfully on Flame 2.0 and 2.1 See attachment: Verify_ 1037171.MP4 Reproducing rate: 0/5 Flame 2.0 build: Gaia-Rev 8d1e868864c8a8f1e037685f0656d1da70d08c06 Gecko-Rev https://hg.mozilla.org/releases/mozilla-b2g32_v2_0/rev/c756bd8bf3c3 Build-ID 20141130000204 Version 32.0 Flame 2.1 build: Gaia-Rev ccb49abe412c978a4045f0c75abff534372716c4 Gecko-Rev https://hg.mozilla.org/releases/mozilla-b2g34_v2_1/rev/18fb67530b22 Build-ID 20141130001203 Version 34.0
Updated•10 years ago
|
Reporter | ||
Comment 14•10 years ago
|
||
I'm not going to have time to look at this for the next few weeks; can you take a look?
Assignee: mgoodwin → nobody
Flags: needinfo?(6a68)
Comment 15•10 years ago
|
||
Hi Mark - Looks verified to me, I think we're good here. ^_^
Flags: needinfo?(6a68)
You need to log in
before you can comment on or make changes to this bug.
Description
•