Closed
Bug 1153708
Opened 10 years ago
Closed 10 years ago
Saving FxA profile data might clobber loginmanager data
Categories
(Firefox :: Firefox Accounts, defect)
Firefox
Firefox Accounts
Tracking
()
Tracking | Status | |
---|---|---|
firefox38 | --- | unaffected |
firefox38.0.5 | --- | unaffected |
firefox39 | --- | verified |
firefox40 | --- | fixed |
firefox-esr38 | --- | unaffected |
People
(Reporter: markh, Assigned: markh)
References
Details
(Keywords: regression)
Attachments
(2 files)
2.42 KB,
patch
|
Details | Diff | Splinter Review | |
1.76 KB,
patch
|
zaach
:
review+
lizzard
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
The problem is:
* FxA starts up with MP locked, so only partial data is read.
* FxAccountsProfile.jsm fetches the profile data, and calls setUserAccountData() with updated data.
* Now setUserAccountData has been set we've lost the data in the login manager as we haven't previously read it.
To repro, see bug 1146346 comment 20, but when the "Sync Options" pane is open (which triggers the profile code).
See also bug 1150344, which describes how we might fix this.
Assignee | ||
Comment 1•10 years ago
|
||
FTR, this test change demonstrates the underlying problem.
Assignee | ||
Updated•10 years ago
|
Points: --- → 5
Flags: qe-verify+
Flags: firefox-backlog+
Assignee | ||
Comment 2•10 years ago
|
||
I opened bug 1157529 for the more general solution, but it's not clear this is going to land in time to fix this bug. Gavin suggested that we probably need to disable the profile saving code or otherwise work around the problem until a better fix is found.
Chris/Ryan/Zaach, can you guys have a chat about this and decide on what you think is the best way forward?
(NI all of you, but really it's just a single NI ;)
Flags: needinfo?(zack.carter)
Flags: needinfo?(rfkelly)
Flags: needinfo?(ckarlof)
Comment 3•10 years ago
|
||
How about we cache profile data in memory only for now? That way it won't hit the server every time the pref pane renders.
Flags: needinfo?(zack.carter)
Comment 4•10 years ago
|
||
I'll defer completely to Zach's instincts here. Caching in memory seems like a sensible compromise in the short term.
Flags: needinfo?(rfkelly)
Updated•10 years ago
|
Assignee: nobody → zack.carter
Assignee | ||
Comment 5•10 years ago
|
||
As discussed on IRC
Assignee: zack.carter → mhammond
Status: NEW → ASSIGNED
Flags: needinfo?(ckarlof)
Attachment #8601247 -
Flags: review?(zack.carter)
Updated•10 years ago
|
Iteration: --- → 40.3 - 11 May
Comment 6•10 years ago
|
||
Comment on attachment 8601247 [details] [diff] [review]
0004-Bug-1153708-put-the-FxA-profile-fetch-behind-the-sam.patch
Review of attachment 8601247 [details] [diff] [review]:
-----------------------------------------------------------------
Great! Thanks Mark.
Attachment #8601247 -
Flags: review?(zack.carter) → review+
Comment 8•10 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
status-firefox40:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla40
Comment 9•10 years ago
|
||
Assignee | ||
Updated•10 years ago
|
status-firefox38:
--- → unaffected
status-firefox38.0.5:
--- → unaffected
status-firefox39:
--- → affected
status-firefox-esr38:
--- → unaffected
Assignee | ||
Comment 10•10 years ago
|
||
Comment on attachment 8601247 [details] [diff] [review]
0004-Bug-1153708-put-the-FxA-profile-fetch-behind-the-sam.patch
Approval Request Comment
[Feature/regressing bug #]: 1139657
[User impact if declined]: Master-password users will always be asked to sign in to sync
[Describe test coverage new/current, TreeHerder]: current pass
[Risks and why]: Low - user-facing part of this feature is pref'd off
[String/UUID change made/needed]: None
Attachment #8601247 -
Flags: approval-mozilla-aurora?
Updated•10 years ago
|
Keywords: regression
Comment 11•10 years ago
|
||
Comment on attachment 8601247 [details] [diff] [review]
0004-Bug-1153708-put-the-FxA-profile-fetch-behind-the-sam.patch
Approved for aurora so that we don't ship 39 with this regression.
Attachment #8601247 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 12•10 years ago
|
||
Florin, once this lands on 39 can your team verify the fix ? Thanks!
Flags: needinfo?(florin.mezei)
Comment 14•10 years ago
|
||
Assigning this to Catalin for verification.
Flags: needinfo?(florin.mezei)
QA Contact: catalin.varga
Comment 15•9 years ago
|
||
Verified as fixed using:
FF 39.0b6
Build Id: 20150615125213
Mac Os X 10.9.5
Updated•9 years ago
|
Flags: qe-verify+
Updated•7 years ago
|
Product: Core → Firefox
Updated•7 years ago
|
Target Milestone: mozilla40 → Firefox 40
You need to log in
before you can comment on or make changes to this bug.
Description
•