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)

Other
iOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Tracking Status
fxios-v5.0 --- fixed
fxios-v6.0 --- fixed
fxios 5.0+ ---

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.
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+
Attachment #8761785 - Flags: review?(etoop)
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+
master 5ad5508bf2be32791e544a1da3ef08145b8ef480
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Whiteboard: [needsuplift]
v5.x af4f6c6
Whiteboard: [needsuplift]
" 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?
(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!
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: