Closed Bug 1410085 Opened 8 years ago Closed 8 years ago

Bookmarks query getRecentBookmarks in highlights doesn't return non-local bookmarks

Categories

(Firefox for iOS :: Data Storage, defect, P1)

All
iOS
defect

Tracking

()

VERIFIED FIXED
Tracking Status
fxios 10.0 ---
fxios-v10.0 --- verified
fxios-v11.0 --- verified

People

(Reporter: farhan, Assigned: justindarc, Mentored)

Details

(Whiteboard: [Bookmarks][DataStorage][NewTab])

Attachments

(2 files)

Due to changes in bookmarks sync as soon as a bookmark is uploaded it ceases to be local. The "getRecentBookmarks" query only looks at local bookmarks so if a user has sync enabled bookmarks never show up in highlights.
Priority: -- → P2
This is probably as simple as switching `ViewBookmarksLocalOnMirror` to `ViewAllBookmarks`. It's probably worth guarding the change in this bug behind `MOZ_SIMPLE_BOOKMARKS_SYNCING` or (better) the same check that we use in `BookmarksModel` -- `hasOnlyUnmergedRemoteBookmarks` -- in order to behave correctly with merge deletions and partial uploads.
Mentor: rnewman
Hardware: Other → All
Component: Home screen → Data Storage
Summary: Bookmarks query getRecentBookmarks in highlights does not work. → Bookmarks query getRecentBookmarks in highlights doesn't return non-local bookmarks
Whiteboard: [Bookmarks][DataStorage][NewTab]
Assignee: nobody → jdarcangelo
Status: NEW → ASSIGNED
Priority: P2 → P1
Attached file GitHub Pull Request
Attachment #8921621 - Flags: review?(fpatel)
Comment on attachment 8921621 [details] [review] GitHub Pull Request Carrying over R+ from GitHub.
Attachment #8921621 - Flags: review?(fpatel) → review+
Verifying as fix on master 73081c03882 and beta 10.0(7473). Synced bookmarks are now displayed in Activity Stream Highlights.
Status: RESOLVED → VERIFIED
Posting :rnewman's follow-up PR here. Needs uplifted to v10.x.
Flags: needinfo?(rnewman)
Attachment #8923895 - Flags: review+
Flags: needinfo?(rnewman)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: