Closed Bug 1221227 Opened 9 years ago Closed 9 years ago

Don't delete history/bookmarks items that were (also) created locally

Categories

(Firefox OS Graveyard :: Sync, defect, P1)

ARM
Gonk (Firefox OS)
defect

Tracking

(Not tracked)

RESOLVED FIXED
FxOS-S11 (13Nov)

People

(Reporter: mbdejong, Assigned: mbdejong)

References

Details

Attachments

(1 file)

      No description provided.
Assignee: nobody → mbdejong
Blocks: fxos-sync
Priority: -- → P1
Target Milestone: --- → FxOS-S11 (13Nov)
Attachment #8683133 - Flags: review?(ferjmoreno)
Could you explain the reasoning behind this patch, please? Also in code comments would be highly appreciated. The whole adapters/clearing stuff is becoming quite complicated with some edge cases and different behavior in phone and TV (and in readonly and readwrite modes), we really need to document this stuff properly.

Also, is this still going to be the case when we move to a readwrite model? Or is this just a temporary measure for the readonly model?
Flags: needinfo?(mbdejong)
Attachment #8683133 - Flags: review?(ferjmoreno)
You're right, I have to add more code comments.

We will still need this if users select the readonly option in settings, I think, unless we don't provide that setting.

In any case, I'll describe all these edge cases and special behaviors, and why they work the way they work as part of bug 1218278.
Flags: needinfo?(mbdejong)
Follow-up ticket for improving efficiency is bug 1223418.
Code comments added.
Flags: needinfo?(ferjmoreno)
Sorry, that follow-up is unrelated to this bug.
Comment on attachment 8683133 [details] [review]
[gaia] michielbdejong:1221227-created-locally > mozilla-b2g:master

Thank you Michiel. I left a comment on GitHub.
Flags: needinfo?(ferjmoreno)
Attachment #8683133 - Flags: review+
Flags: needinfo?(mbdejong)
Thanks! Responded.
Flags: needinfo?(mbdejong) → needinfo?(ferjmoreno)
https://github.com/mozilla-b2g/gaia/commit/c6fe9fbc2081876c7beb9a05978484e8b9660d99
Status: NEW → RESOLVED
Closed: 9 years ago
Flags: needinfo?(ferjmoreno)
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: