Closed Bug 476220 Opened 15 years ago Closed 15 years ago

Initial migration runs out of Places sync service (nsPlacesDBFlush)

Categories

(Toolkit :: Places, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.9.2a1

People

(Reporter: mak, Unassigned)

References

Details

(Whiteboard: [fixed by bug 483980])

Spun-off from bug 474582.

Profile migrators starts in nsAppRunner.cpp, very early. "profile-after-change" is called after profile migrators, so when migrators run at very first start, Places is not initialized by nsPlacesDBFlush but from the migrator itself.

Due to that we are not syncing during migration, this means if we crash during migration we end up with bookmarks orphan of a moz_place.

Not sure what we can do about this, since initing sync service before could be tricky.
bug 483980 can probably fix this, since sync will be inited by the first history/bookmarks notification.
Depends on: 483980
this is fixed by bug 483980. bug 484175 involves something similar and confirms this works, not the same issue though.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Whiteboard: [fixed by bug 483980]
You need to log in before you can comment on or make changes to this bug.