Closed
Bug 618009
Opened 14 years ago
Closed 14 years ago
add test for storage format detection during login
Categories
(Firefox :: Sync, defect)
Firefox
Sync
Tracking
()
RESOLVED
FIXED
People
(Reporter: philikon, Assigned: rnewman)
References
Details
Attachments
(1 file)
7.13 KB,
patch
|
mconnor
:
review+
|
Details | Diff | Splinter Review |
We're bumping to storage format 5 for crypto changes. Ugprading a storage version 4 account gives me "Wrong Sync Key" rather than the outdated notification. Looks like the fix in bug 614737 wasn't much effective.
I think to save storage version 4 users we need to choose a different WBO for storage format 5. But we also need to make sure we will never run into this ever again by checking the storage version during login. (Login checks for HTTP 200/401 on info/collections, perhaps we can just switch it to meta/global and then analyze the contents on a 200. That way we don't have to fetch it separtely.)
Assignee | ||
Comment 1•14 years ago
|
||
Proposed name for new WBO:
storage/crypto/bulkkeys
? Or should we change the collection, also? Better name suggestions welcome.
Working on earlier check and test harness for it now.
Severity: normal → blocker
Status: NEW → ASSIGNED
blocking2.0: --- → ?
tracking-fennec: --- → ?
See Also: → 614737
Comment 2•14 years ago
|
||
Will Firefox Home need to do something here as well?
Severity: blocker → normal
Comment 3•14 years ago
|
||
changing the collection makes this change much bigger, but maybe this looks like it's for the "bulkkeys" collection?
Could use "keys" instead. keys/bulk for shortness win.a
Firefox Home will need to look for the new path, yes, so we need to lock that down first.
Severity: normal → blocker
Comment 4•14 years ago
|
||
Firefox Home correctly checks the storage version before syncing. Including for v4 vs v5 in Home 1.1
CHanges to Home only need to be made if we muck with names for records.
Assignee | ||
Comment 5•14 years ago
|
||
The attached test passes for me. Philipp is double-checking his repro.
Attachment #496563 -
Flags: review?(mconnor)
Reporter | ||
Comment 6•14 years ago
|
||
I can't reproduce anymore. Must've been a messed up profile or something.
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → WORKSFORME
Assignee | ||
Comment 7•14 years ago
|
||
Can't reproduce, but I still want to add this test.
Updated•14 years ago
|
Severity: blocker → normal
Status: RESOLVED → REOPENED
blocking2.0: ? → ---
tracking-fennec: ? → ---
Resolution: WORKSFORME → ---
Summary: Need storage format detection during login → add test for storage format detection during login
Updated•14 years ago
|
Status: REOPENED → ASSIGNED
Updated•14 years ago
|
Attachment #496563 -
Flags: review?(mconnor) → review+
Assignee | ||
Comment 8•14 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 14 years ago → 14 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Component: Firefox Sync: Backend → Sync
Product: Cloud Services → Firefox
You need to log in
before you can comment on or make changes to this bug.
Description
•