Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

handle sync DELETE history/bookmark records with empty objects #9308

Closed
diracdeltas opened this issue Jun 7, 2017 · 0 comments · Fixed by #9349
Closed

handle sync DELETE history/bookmark records with empty objects #9308

diracdeltas opened this issue Jun 7, 2017 · 0 comments · Fixed by #9349

Comments

@diracdeltas
Copy link
Member

diracdeltas commented Jun 7, 2017

Test plan

#9349 (comment)


browser-laptop should accept DELETE records of the following form, otherwise it is not able to properly handle DELETE records sent by Android:

{
      action: 2,
      objectId: [...],
      deviceId: [...],
      bookmark: {}
}

This only applies to history/bookmarks, not siteSettings. (siteSetting DELETEs specify fields to be deleted instead of deleting the entire object)

cc @SergeyZhukovsky @jhreis

@diracdeltas diracdeltas added this to the 0.18.x milestone Jun 7, 2017
@diracdeltas diracdeltas self-assigned this Jun 7, 2017
diracdeltas added a commit that referenced this issue Jun 9, 2017
diracdeltas added a commit that referenced this issue Jun 12, 2017
diracdeltas added a commit that referenced this issue Jun 12, 2017
diracdeltas added a commit that referenced this issue Jun 12, 2017
diracdeltas added a commit that referenced this issue Jun 13, 2017
diracdeltas added a commit that referenced this issue Jun 13, 2017
diracdeltas added a commit that referenced this issue Jun 26, 2017
diracdeltas added a commit that referenced this issue Jun 26, 2017
This reverts commit 91ef559.

it also re-fixes #9308 after the revert and fixes handling of skipSync (#111)

Test Plan:
Test plan in brave/sync#111
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.