Closed
Bug 58345
Opened 25 years ago
Closed 17 years ago
if ~/.netscape/"old history.dat" exists, we fail to rename history.dat and we corrupt history
Categories
(MailNews Core :: Profile Migration, defect, P3)
Tracking
(Not tracked)
RESOLVED
WONTFIX
mozilla1.2alpha
People
(Reporter: bzbarsky, Unassigned)
References
Details
Attachments
(2 files)
16.00 KB,
application/octet-stream
|
Details | |
1.57 KB,
patch
|
Details | Diff | Splinter Review |
Linux all trunk builds for the last few months up to and including 2000102708.
When I migrate my Netscape 4.x profile, I get the messages:
Inside Migrate Profile routine.
start of pref migration
failed to migrate properly. err=-2147418113
The resulting migrated profile has a corrupt history.dat. This is manifested as
follows: The history window is empty, and links are not marked as followed.
The only way to fix the problem that I have found is to remove Mozilla's
history.dat. After that things work fine.
![]() |
Reporter | |
Comment 1•25 years ago
|
||
Comment 2•25 years ago
|
||
in nsPrefMigration.cpp, DoSpecialUpdates() is supposed to move the 4.x history
file out of the way. it should be moving it to "old history.dat"
question: do you have a "old history.dat" file in your .netscape directory?
that may cause this problem. (I'll try on my build.)
also, if migration fails before we call DoSpecialUpdates() we won't move that
file to the side.
dbragg, we should probably be removing the 4.x history file in
DoSpecialUpdates(), instead of renaming it.
I'll attach a patch.
Keywords: rtm
Whiteboard: [rtm need info]
Comment 3•25 years ago
|
||
boris, can you check your .netscape directory?
if you don't already have an "old history.dat" file in .netscape, my guess is
migration is failing for you in other ways.
we can work on figuring that out.
Assignee: dbragg → sspitzer
Comment 4•25 years ago
|
||
here's a patch to fix the problem if "old history.dat" exists in the profile
directory.
Comment 5•25 years ago
|
||
![]() |
Reporter | |
Comment 6•25 years ago
|
||
There is no "old history.dat" in my .netscape directory.
Migration also does not migrate mailnews preferences at all, so I am guessing
that there is a failure somewhere before migration gets to that.
Comment 7•25 years ago
|
||
ok, let me change this bug into the bug where we fail if "old history.dat"
exists. (since the attached patch will fix that bug.)
can you send me your 4.x prefs.js file so I can try to reproduce your migration
failure?
the "old history.dat" file is not rtm, removing keywords.
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Keywords: rtm
Summary: history.dat migrated incorrectly; causes corrupt history → if ~/.netscape/"old history.dat" exists, we fail to rename history.dat and we corrupt history
Whiteboard: [rtm need info]
Comment 8•25 years ago
|
||
migration bugs to racham
Assignee: sspitzer → racham
Status: ASSIGNED → NEW
Product: Browser → MailNews
Updated•24 years ago
|
Target Milestone: mozilla0.9.9 → mozilla1.2
Updated•23 years ago
|
Blocks: profile-corrupt
Updated•21 years ago
|
Product: MailNews → Core
Comment 10•18 years ago
|
||
sorry for the spam. making bugzilla reflect reality as I'm not working on these bugs. filter on FOOBARCHEESE to remove these in bulk.
Assignee: sspitzer → nobody
Updated•17 years ago
|
QA Contact: agracebush → profile-migration
Assignee | ||
Updated•17 years ago
|
Product: Core → MailNews Core
![]() |
||
Comment 11•17 years ago
|
||
NS4.x migration bug. We don't support that in Shredder trunk builds anymore, do we?
Comment 12•17 years ago
|
||
no, we don't - marking wontfix.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•