Closed Bug 621489 Opened 15 years ago Closed 15 years ago

Make sure to call _orderChildren even if _processIncoming fails

Categories

(Firefox :: Sync, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

VERIFIED FIXED
Tracking Status
blocking2.0 --- betaN+

People

(Reporter: ivanmelwise, Assigned: philikon)

References

Details

Attachments

(2 files)

User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:2.0b9pre) Gecko/20101226 Firefox/4.0b9pre Build Identifier: Mozilla/5.0 (Windows NT 5.1; rv:2.0b9pre) Gecko/20101226 Firefox/4.0b9pre I've synced two linux PC successfully (almost) to Mozilla server. I had no problems with sync everything between that two machines connected to same LAN. Then I tried to sync my another machine. This one is WinXP. Sync's terminated. Mishmash in bookmarks. Reproducible: Always Steps to Reproduce: 1. Make foldered structure of plenty of bookmarks on linux and sync them to Mozilla server. 2. Make slightly different foldered structure of plenty of bookmarks on WinXP and sync them to Mozilla server. Actual Results: Holy mishmash in my bookmarks. Expected Results: Bookmarks merged from all PCs. Lin and XP machines had many same bookmarks in different places, so there was lots of changing GUIDs.
Attached file Sync log
Summary: More then 5000 bookmarks sync terminated under WinXP due to channel inactivity → More than 5000 bookmarks sync terminated under WinXP due to channel inactivity
Component: General → Firefox Sync: Backend
Product: Firefox → Mozilla Services
QA Contact: general → sync-backend
Blocks: 621584
(In reply to comment #0) > I've synced two linux PC successfully (almost) to Mozilla server. I had no > problems with sync everything between that two machines connected to same LAN. > Then I tried to sync my another machine. This one is WinXP. Sync's terminated. > Mishmash in bookmarks. By mishmash you mean wrong ordering, yes? I can see that happening because if _processIncoming fails for some reason (e.g. network timeout in your case), we don't call _orderChildren, leaving bookmarks in the wrong order. We should fix that, but in the mean time doing a Reset Sync should fix your problem. > Lin and XP machines had many same bookmarks in different places, so there was > lots of changing GUIDs. Changing GUIDs is normal when merging two similar sets of bookmarks. In fact, when you have two identical profiles and you sync them, the dupe detection should change *all* GUIDs on the second profile.
Status: UNCONFIRMED → NEW
blocking2.0: --- → ?
Ever confirmed: true
Summary: More than 5000 bookmarks sync terminated under WinXP due to channel inactivity → Make sure to call _orderChildren even if _processIncoming fails
(In reply to comment #2) > By mishmash you mean wrong ordering, yes? Yes. One should expect that after abrupt sync termination I believe. >doing a Reset Sync should fix your problem. Well, restoring my bookmarks is not a problem at all. Thanks.
blocking2.0: ? → beta9+
Attached patch v1Splinter Review
Assignee: nobody → philipp
Status: NEW → ASSIGNED
Attachment #500414 - Flags: review?(mconnor)
Whiteboard: [has patch][needs review mconnor]
Attachment #500414 - Flags: review?(mconnor) → review+
Whiteboard: [has patch][needs review mconnor] → [has patch][has reviews]
Blocks: 622999
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Whiteboard: [has patch][has reviews]
As per today's meeting, beta 9 will be a time-based release. Marking these all betaN+. Please move it back to beta9+ if you believe it MUST be in the next beta (ie: trunk is in an unshippable state without this)
No longer blocks: 621584, 622999
blocking2.0: beta9+ → betaN+
Fixing fields my automated script accidentally blanked. Apologies for the bugspam
verified with current nightly build
Status: RESOLVED → VERIFIED
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.

Attachment

General

Creator:
Created:
Updated:
Size: