Closed
Bug 573899
Opened 15 years ago
Closed 15 years ago
Only Clients gets synced
Categories
(Firefox :: Sync, defect)
Firefox
Sync
Tracking
()
RESOLVED
FIXED
1.4
People
(Reporter: Mardak, Assigned: philikon)
References
Details
(Keywords: regression, Whiteboard: [weave1.4] )
Attachments
(1 file, 4 obsolete files)
|
5.61 KB,
patch
|
Mardak
:
review+
|
Details | Diff | Splinter Review |
Seems like other engines start syncing after a few restarts. Probably related to bug 572436.
Flags: blocking-fx-sync1.4+
| Assignee | ||
Updated•15 years ago
|
Assignee: nobody → philipp
| Assignee | ||
Comment 1•15 years ago
|
||
The problem occurs for me when the Sync add-on is added to a profile for the first time. It goes away on subsequent starts. I'm guessing we're racing add-on setup here. The attached patch fixes this problem by making the call to Weave.Service.onStartup async.
Attachment #453371 -
Flags: review?(mconnor)
| Assignee | ||
Comment 2•15 years ago
|
||
Even better, since Weave.Service.onStartup is now async, we can go through Weave.Svc in the overlays and don't have to be cautious about avoiding the 'Weave' namespace.
Attachment #453371 -
Attachment is obsolete: true
Attachment #453378 -
Flags: review?(mconnor)
Attachment #453371 -
Flags: review?(mconnor)
| Reporter | ||
Comment 3•15 years ago
|
||
Comment on attachment 453378 [details] [diff] [review]
v2
A bunch of services tests are failing
Attachment #453378 -
Flags: review-
| Reporter | ||
Comment 4•15 years ago
|
||
Is there some way to do a chrome.manifest override for the default prefs so that we can just package them as part of prefs instead of setting them in js?
| Assignee | ||
Comment 5•15 years ago
|
||
Fix up tests that depend on Weave.Service.onStartup being run.
Attachment #453511 -
Flags: review?(mconnor)
| Assignee | ||
Comment 6•15 years ago
|
||
Comment on attachment 453378 [details] [diff] [review]
v2
Instead of changing the semantics of importing service.js, it would be more sensible to set the default preferences in an add-on specific component.
Attachment #453378 -
Attachment is obsolete: true
Attachment #453378 -
Flags: review?(mconnor)
| Assignee | ||
Updated•15 years ago
|
Attachment #453511 -
Attachment is obsolete: true
Attachment #453511 -
Flags: review?(mconnor)
| Reporter | ||
Comment 7•15 years ago
|
||
Hrm.. I was about to suggest that from the component, we could check if the pref isSet, and if not, set it to some default value. However, during setup, we might clear the prefbranch and kill the value from .startOver().
| Assignee | ||
Comment 8•15 years ago
|
||
Attachment #453745 -
Flags: review?
| Assignee | ||
Comment 9•15 years ago
|
||
Comment on attachment 453745 [details] [diff] [review]
Set default prefs in addon-specific component
Hrm, hit Enter too soon...
Anyway, this patch moves the default prefs from the overlay code to a separate, add-on specific component.
Attachment #453745 -
Flags: review? → review?(mconnor)
| Assignee | ||
Comment 10•15 years ago
|
||
(In reply to comment #7)
> Hrm.. I was about to suggest that from the component, we could check if the
> pref isSet, and if not, set it to some default value. However, during setup, we
> might clear the prefbranch and kill the value from .startOver().
None of this is an issue I think since we're setting a *default* pref, not a user pref.
Comment 11•15 years ago
|
||
Please, add into glue case branch
case SEAMONKEY_ID:
engines = ["Form", "History", "Password"];
break;
| Reporter | ||
Comment 12•15 years ago
|
||
The previous code has form history password and tabs for seamonkey:
http://hg.mozilla.org/services/fx-sync/rev/e5bce5ae1712#l3.18
| Assignee | ||
Comment 13•15 years ago
|
||
Apparently tab sync doesn't quite work yet in SeaMonkey (bug 567583) and it's unclear to me what other engines work and don't work, so I left it out for now. I'll be happy to put it back in, but perhaps it'd be better if the SeaMonkey folks would do it themselves?
| Assignee | ||
Comment 14•15 years ago
|
||
Add case SEAMONKEY_ID as suggested by Igor (he confirmed that those three engines indeed work on SeaMonkey).
Attachment #453745 -
Attachment is obsolete: true
Attachment #453801 -
Flags: review?(mconnor)
Attachment #453745 -
Flags: review?(mconnor)
| Reporter | ||
Updated•15 years ago
|
Attachment #453801 -
Flags: review?(mconnor) → review+
| Reporter | ||
Comment 15•15 years ago
|
||
http://hg.mozilla.org/services/fx-sync/rev/177ed7233022
Setting default preferences from overlay code has proven to be too unreliable. Structurally it's also misplaced since it's neither UI nor library code. So instead set the default prefs in a separate, add-on specific component.
Status: NEW → RESOLVED
Closed: 15 years ago
Keywords: regression
Resolution: --- → FIXED
Target Milestone: --- → 1.4
| Reporter | ||
Updated•15 years ago
|
Whiteboard: [weave1.4]
Updated•7 years ago
|
Component: Firefox Sync: Backend → Sync
Product: Cloud Services → Firefox
You need to log in
before you can comment on or make changes to this bug.
Description
•