Closed
Bug 1435166
Opened 6 years ago
Closed 6 years ago
Don't try to move synced bookmarks into deleted parents when merging
Categories
(Firefox :: Sync, defect, P1)
Firefox
Sync
Tracking
()
RESOLVED
FIXED
Firefox 60
Tracking | Status | |
---|---|---|
firefox60 | --- | fixed |
People
(Reporter: lina, Assigned: lina)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
Here's an interesting way to reproduce this. Consider the following structure: + Menu | + A | | - B | + C | | - D * Locally, add a new bookmark E into A, move D elsewhere (for example, to the toolbar), and delete the now-empty C. * Remotely, add a new bookmark F into C, move B into the same "elsewhere" folder as above, and delete the now-empty A. A will have a newer local timestamp, so we'll decide to keep B in A. However, A is deleted remotely, oops! Similarly, C will have a newer remote timestamp, so we'll keep D in C and undo the local move, even though C is now deleted locally. The fix here is to always merge immediately, and never pick a parent on the other side that's deleted on our side, even if it's flagged as modified and has a newer timestamp.
Comment hidden (mozreview-request) |
Updated•6 years ago
|
Priority: -- → P1
Comment 3•6 years ago
|
||
mozreview-review |
Comment on attachment 8947718 [details] Bug 1435166 - Don't try to move synced bookmarks into deleted parents when merging. https://reviewboard.mozilla.org/r/217434/#review223808 Looks great, thanks
Attachment #8947718 -
Flags: review?(markh) → review+
Pushed by kcambridge@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1f7c498a92c8 Don't try to move synced bookmarks into deleted parents when merging. r=markh
Comment 5•6 years ago
|
||
Backed out for xpcshell&TV failures on /test_bookmark_deletion.js. Push: https://treeherder.mozilla.org/#/jobs?repo=autoland&revision=7b1372468c928bcda562ef58be2c3c4d0515c13e XPCSHELL Log: https://treeherder.mozilla.org/logviewer.html#?job_id=160552278&repo=autoland&lineNumber=2625 TV Log: https://treeherder.mozilla.org/logviewer.html#?job_id=160552226&repo=autoland&lineNumber=1991
Flags: needinfo?(kit)
Comment hidden (mozreview-request) |
Pushed by kcambridge@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9506810cd82c Don't try to move synced bookmarks into deleted parents when merging. r=markh
Assignee | ||
Comment 8•6 years ago
|
||
Aah, sorry about that, this needed a rebase atop bug 1435553. Fixed up and re-landed.
Flags: needinfo?(kit)
Comment 9•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/9506810cd82c
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox60:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 60
You need to log in
before you can comment on or make changes to this bug.
Description
•