Closed
Bug 1279319
Opened 8 years ago
Closed 8 years ago
Sync notification displaying warning/error when sync completion completed successfully
Categories
(Firefox for iOS :: Sync, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: sleroux, Unassigned)
Details
Attachments
(1 file)
When navigating to the new History panel -> Synced devices, a sync call is fired but only syncs the tabs/clients. For me this always returns successful but we're displaying the bookmark sync has failed (warning) every time this completes. It seems that because don't have an `asObject` case for SyncStatus when it's .Good [1] the notification root view controller uses the previous error message that was shown [2] which in my case was the bookmarks error. This would cause the error notification to appear more than once while the user navigates the panels. [1] https://github.com/mozilla/firefox-ios/blob/master/Providers/Profile.swift#L28 [2] https://github.com/mozilla/firefox-ios/blob/master/Client/Frontend/Notifications/NotificationRootViewController.swift#L242.
Reporter | ||
Comment 1•8 years ago
|
||
Attachment #8761785 -
Flags: review?(etoop)
Comment 2•8 years ago
|
||
Comment on attachment 8761785 [details] Link to Github pull-request: https://github.com/mozilla/firefox-ios/pull/1907#attch-to-bugzilla comment left in PR
Attachment #8761785 -
Flags: review?(etoop) → feedback+
Reporter | ||
Updated•8 years ago
|
Attachment #8761785 -
Flags: review?(etoop)
Comment 3•8 years ago
|
||
Comment on attachment 8761785 [details] Link to Github pull-request: https://github.com/mozilla/firefox-ios/pull/1907#attch-to-bugzilla LGTM
Attachment #8761785 -
Flags: review?(etoop) → review+
Reporter | ||
Comment 4•8 years ago
|
||
master 5ad5508bf2be32791e544a1da3ef08145b8ef480
Status: NEW → RESOLVED
Closed: 8 years ago
status-fxios-v6.0:
--- → fixed
Resolution: --- → FIXED
Whiteboard: [needsuplift]
Reporter | ||
Comment 5•8 years ago
|
||
v5.x af4f6c6
status-fxios-v5.0:
--- → fixed
Whiteboard: [needsuplift]
Comment 6•8 years ago
|
||
" Sync notification displaying warning/error when sync completion completed successfully" Late Friday reading this bug summary but why would we should a warning or error on a successful Sync?
Comment 7•8 years ago
|
||
(In reply to Aaron Train [:aaronmt] from comment #6) > " Sync notification displaying warning/error when sync completion completed > successfully" > > Late Friday reading this bug summary but why would we should a warning or > error on a successful Sync? Nevermind!
Updated•8 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•