Closed Bug 45299 Opened 25 years ago Closed 25 years ago

Linux: News accounts don't migrate with July 12 build.

Categories

(MailNews Core :: Profile Migration, defect, P3)

x86
Linux

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: laurel, Assigned: dbragg)

Details

(Keywords: platform-parity, regression, Whiteboard: [nsbeta2+] ETA 7/14/2000)

Using 2000-07-12-11 commercial build linux rh6.0 News accounts don't migrate using today's linux build. Mac and Windows are OK. Related to check-in for bug #44252? 1. Launch netscape -installer to migrate a 4.x account (which will always have at least one news "news" default account). 2. Go to mail in 6.0. Result: only mail accounts + Local Folders appear, no news account(s).
Severity: normal → major
Keywords: pp, regression
QA Contact: gbush → laurel
Nominating for beta2 since news accounts don't migrate, unless we want to require users to have to add back their existing news accounts by creating new account(s).
Keywords: nsbeta2
PDT - having users add back their newsgroups may be ok, but they would lose all of their read/unread information for each newsgroup which is very cumbersome. And, it seems that a lot of Linux users are newsgroup-saavy
Target Milestone: --- → M17
Putting on [nsbeta2+] radar for beta2 fix.
Whiteboard: [nsbeta2+]
dimi said he'd help take a look at this bug. Let me know if you need any help.
Assignee: mscott → dimator
cc'ing dbragg. I noticed he checked in a lot of pref migration changes the night before we started seeing this regression. Maybe it's related?
If we back out dbraggs pref migration changes (nsPrefMigration.h/cpp, nsIPrefMigration.idl) from 7/11/2000, the bug goes away. Before those changes, the newsrc files are being created under /home/<username>/.mozilla/<username>/News/ but with those changes, they are not.
Assignee: dimator → dbragg
I think I see what happend here. In moving around all the code I needed to move to fix 36249 I messed with the code that assembles the new news path. Should have the fix soon.
Status: NEW → ASSIGNED
Whiteboard: [nsbeta2+] → [nsbeta2+] ETA 7/14/2000
I was wrong. The paths seem to be fine. In fact the news.directory pref is getting set correctly as well. I'm seeking more information on exactly what is needed by mozilla to show the news groups correctly. Everything looks to be in the right place.
Don, after your pref migration changes, the pref migration code stopped copying the newsrc files into the new profile directory. If we back out your changes the newsrc files start showing up again. That's the part that appears to be missing. Hope this helps.
Fixed. The bug was caused by moving the code that writes a "premigrated" pref to the prefs.js file. Before I checked in the fix to #36249, we had to create the new profile directory before we determined if there was enough space to do the migration. The reason for that was we needed to read/write to the prefs new prefs file. When I moved all that stuff so it would only be done AFTER we determined there was enough space, the statement that set the premigrated pref for the old News directory (.news-rc in the case of Linux) had a new value in it. Since we now copy the prefs.js file to the temp directory before reading/writing to it, I could move the premigrated pref setting code back where Seth had originally put it. The correct value is now being set and subsequently read correctly.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
OK using 2000-07-18-08 commercial build linux rh6.0 However, activation screen doesn't appear, so cancelling activation isn't part of my verification.
Status: RESOLVED → VERIFIED
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.