Open
Bug 622033
Opened 14 years ago
Updated 3 years ago
Profile migration doesn't migrate news accounts properly (.newsrc.file-rel is ignored)
Categories
(SeaMonkey :: Startup & Profiles, defect)
Tracking
(Not tracked)
NEW
People
(Reporter: mnyromyr, Unassigned)
Details
Migrating my old SM1 profile to trunk, I noticed that some of my news accounts weren't properly transformed: the news account as such was created, including identities, mboxes and .msf files were copied - but no groups show up in the UI. Looking on filesystem level, I noticed that the news rc file was missing for all broken accounts, hence I took a look at the original prefs: user_pref("mail.server.server9.directory", "E:\\sichern\\Mozilla\\Users\\kd\\if93afhv.slt\\News\\news.mozdev.org"); user_pref("mail.server.server9.directory-rel", "[ProfD]News/news.mozdev.org"); user_pref("mail.server.server9.hostname", "news.mozdev.org"); user_pref("mail.server.server9.newsrc.file", "E:\\sichern\\Mozilla\\Users\\kd\\if93afhv.slt\\News\\news.mozdev.org.rc"); user_pref("mail.server.server9.newsrc.file-rel", "[ProfD]News/news.mozdev.org.rc"); ... (The Mozilla profile got copied from Windows to Linux a couple of years ago, but that's not the real issue here.) Looking at the code in <http://mxr.mozilla.org/comm-central/source/suite/profile/migration/src/nsNetscapeProfileMigratorBase.cpp#1044>, it's using directory-rel to find the data files, but ignoring newsrc.file-rel when trying to find the news rc file... (Glancing at nsSeamonkeyProfileMigrator.cpp, TB seems to be affected as well.)
Comment 1•14 years ago
|
||
We had a number of problems with -rel in the migration code, I guess we had a bit too few people testing, reporting and working on it...
Comment 2•13 years ago
|
||
Same symptoms occurred in Windows 7. It has happened with both 2.5 and 2.6.1. I don't know if cause is the same.
You need to log in
before you can comment on or make changes to this bug.
Description
•