Closed
Bug 1063487
Opened 10 years ago
Closed 10 years ago
(Oauth) Authentication is broken in Calendar
Categories
(Firefox OS Graveyard :: Gaia::Calendar, defect)
Tracking
(blocking-b2g:2.1+, b2g-v2.0 unaffected, b2g-v2.1 verified, b2g-v2.2 fixed)
Tracking | Status | |
---|---|---|
b2g-v2.0 | --- | unaffected |
b2g-v2.1 | --- | verified |
b2g-v2.2 | --- | fixed |
People
(Reporter: cwiiis, Assigned: cwiiis)
References
Details
(Keywords: branch-patch-needed, regression, Whiteboard: [systemsfe])
Attachments
(3 files)
(deleted),
text/x-github-pull-request
|
mmedeiros
:
review+
fabrice
:
approval-gaia-v2.1+
|
Details |
(deleted),
text/x-github-pull-request
|
Details | |
(deleted),
video/mp4
|
Details |
If you try to log into a Google Calendar account in the calendar app, you'll be presented with a blank window that you can't escape from.
It seems the html for the oath window was updated without updating the corresponding JavaScript (how did this get past review?)
Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8484926 -
Flags: review?(mmedeiros)
Comment 2•10 years ago
|
||
[Blocking Requested - why for this release]: regression! very important feature! user won't be able to add a Google calendar.
Blocks: 1015292
blocking-b2g: --- → 2.1?
status-b2g-v2.0:
--- → unaffected
status-b2g-v2.1:
--- → affected
status-b2g-v2.2:
--- → affected
Keywords: regression
Comment 3•10 years ago
|
||
Comment on attachment 8484926 [details]
Update oauth JS to correspond to html
LGTM. changes are minimal, tested on the device. Was able to add a Google Calendar and also click the "back" button.
Attachment #8484926 -
Flags: review?(mmedeiros) → review+
Assignee | ||
Comment 4•10 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Comment 5•10 years ago
|
||
Is there any way we can prevent future regressions of this sort?
Updated•10 years ago
|
Whiteboard: [systemsfe]
Target Milestone: --- → 2.1 S4 (12sep)
Comment 6•10 years ago
|
||
(In reply to Gareth Aye [:gaye] from comment #5)
> Is there any way we can prevent future regressions of this sort?
manually test the add account when a patch touches any code related to the oauth window :P
this was only introduced because the patch affected multiple views at once and I forgot to add a google account while testing it - I manually tested other views to check the design but didn't realize the oauth window also had changes (code changes looked OK, you can see I added comments related to the layout of other views...).
this is the kind of bug that is easy to spot and that we definitely wouldn't ship with it, the likelihood of introducing this kind of regression is minimal, and the fix is usually trivial - if you are coding something related to the oauth window you will probably test it on the phoned during development..
Assignee | ||
Comment 7•10 years ago
|
||
I think we could restructure the unit tests/app a bit so that they inject less of their own markup - that would have caught this (i.e. if it was testing against the markup that's actually in the app, rather than a copy of it in the test). That's a non-trivial change, though.
A marionette test for the oauth account flow would be ideal, but again, is non-trivial.
Updated•10 years ago
|
blocking-b2g: 2.1? → 2.1+
Updated•10 years ago
|
Comment 10•10 years ago
|
||
Please request Gaia v2.1 approval on this patch when you get a chance :).
Flags: needinfo?(chrislord.net)
Assignee | ||
Comment 11•10 years ago
|
||
Comment on attachment 8484926 [details]
Update oauth JS to correspond to html
[Approval Request Comment]
[Bug caused by] (feature/regressing bug #):
[User impact] if declined: Can't add or re-log-in oauth based Calendar accounts (such as Google), and have to close the Calendar app if you try (leaves it in an unrecoverable state)
[Testing completed]: Locally and been on master for a few days now
[Risk to taking this patch] (and alternatives if risky): Low risk vs. not taking it
[String changes made]: None
Attachment #8484926 -
Flags: approval-gaia-v2.1?
Flags: needinfo?(chrislord.net)
Updated•10 years ago
|
Attachment #8484926 -
Flags: approval-gaia-v2.1? → approval-gaia-v2.1+
Comment 12•10 years ago
|
||
Needs rebasing for v2.1 uplift.
Flags: needinfo?(chrislord.net)
Keywords: branch-patch-needed
Assignee | ||
Comment 13•10 years ago
|
||
Flags: needinfo?(chrislord.net)
Assignee | ||
Comment 14•10 years ago
|
||
I'll merge the rebase when tests are green.
Assignee | ||
Comment 15•10 years ago
|
||
Something is up with Gb, but doesn't appear to be anything to do with this (backed up by kgrandon on IRC), so merged: https://github.com/mozilla-b2g/gaia/commit/7627105347fe8e8755002c414c124c9bd87691ec
Comment 16•10 years ago
|
||
[Environment]
Gaia 944e5b4582c4efa1b67cd33245dbb8f6aa25d09f
Gecko https://hg.mozilla.org/releases/mozilla-aurora/rev/7546fedad918
BuildID 20140914160203
Version 34.0a2
ro.build.date Fri Jun 27 15:57:58 CST 2014
ro.bootloader L1TC00011230
ro.build.version.incremental 110
[Result]
PASS
Status: RESOLVED → VERIFIED
Updated•10 years ago
|
Comment 17•10 years ago
|
||
This issue has been verified successfully on Flame 2.1
See attachment: verify_video.MP4
Reproducing rate: 0/5
Flame 2.1 versions:
Gaia-Rev afdfa629be209dd53a1b7b6d6c95eab7077ffcd9
Gecko-Rev https://hg.mozilla.org/releases/mozilla-b2g34_v2_1/rev/dc3018cbdbe6
Build-ID 20141123001201
Version 34.0
Device-Name flame
FW-Release 4.4.2
FW-Incremental eng.cltbld.20141123.035029
FW-Date Sun Nov 23 03:50:40 EST 2014
Bootloader L1TC00011880
You need to log in
before you can comment on or make changes to this bug.
Description
•