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)
Tracking
()
VERIFIED
FIXED
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.
| Reporter | ||
Updated•8 years ago
|
Priority: -- → P2
Comment 1•8 years ago
|
||
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
Updated•8 years ago
|
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
Updated•8 years ago
|
Whiteboard: [Bookmarks][DataStorage][NewTab]
| Assignee | ||
Updated•8 years ago
|
Assignee: nobody → jdarcangelo
Status: NEW → ASSIGNED
Priority: P2 → P1
| Assignee | ||
Comment 2•8 years ago
|
||
Attachment #8921621 -
Flags: review?(fpatel)
| Assignee | ||
Comment 3•8 years ago
|
||
Comment on attachment 8921621 [details] [review]
GitHub Pull Request
Carrying over R+ from GitHub.
Attachment #8921621 -
Flags: review?(fpatel) → review+
| Assignee | ||
Comment 4•8 years ago
|
||
Landed on master:
https://github.com/mozilla-mobile/firefox-ios/commit/d0d126c5bbf89a6cca51129b3f164dbc520ad01d
Landed on v10.x:
https://github.com/mozilla-mobile/firefox-ios/commit/373e9141a7df675226ee2ebebaaf1df65f83c770
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Comment 5•8 years ago
|
||
Verifying as fix on master 73081c03882 and beta 10.0(7473). Synced bookmarks are now displayed in Activity Stream Highlights.
| Assignee | ||
Comment 6•8 years ago
|
||
Posting :rnewman's follow-up PR here. Needs uplifted to v10.x.
Flags: needinfo?(rnewman)
Attachment #8923895 -
Flags: review+
| Assignee | ||
Comment 7•8 years ago
|
||
Landed follow-up on master:
https://github.com/mozilla-mobile/firefox-ios/commit/cab33d2fb711f2c88e852e552fe9cd901d4ebc7e
Landed follow-up on v10.x:
https://github.com/mozilla-mobile/firefox-ios/commit/2e2f0e6cd7b3635c97cc8314b11b20596167003b
Updated•8 years ago
|
Flags: needinfo?(rnewman)
You need to log in
before you can comment on or make changes to this bug.
Description
•