Closed Bug 58357 Opened 25 years ago Closed 17 years ago

if "news.directory" pref points to a directory that doesn't exist, we fail to migrate other files properly

Categories

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

x86
Linux
defect

Tracking

(Not tracked)

RESOLVED WONTFIX
mozilla1.2alpha

People

(Reporter: sspitzer, Unassigned)

Details

this started as bug #58345 using boris' prefs, I was able to reproduce this. this is not a common case, so we won't be fixing this for rtm. I'll work on a fix for the trunk (mozilla 1.0)
from an email from boris: "I am not using it [4.7] to read mail or news. I am just using it to surf the web and send mail (when I encounter mailto links). Sending mail works fine." working on a fix now.
Status: NEW → ASSIGNED
boris, I bet that /home/bzbarsky/news does not exist on your system. in your preferences.js file you have user_pref("news.directory", "/home/bzbarsky/news"); using your prefs, if /home/bzbarsky/news doesn't exist I fail to migrate. if it does exist, I migrate like a champ. I think news.directory defaults to ~, did you change it to point to ~/news and then delete ~/news? either way, this is a low priority bug. I bet similar bad things would happen if "mail.directory" didn't exist either. workaround for you: "mkdir /home/bzbarsky/news"
Summary: if user never used mail in 4.x, we fail to migrate other files properly → if "news.directory" pref points to a file that doesn't exist, we fail to migrate other files properly
correcting summary. adding migration qa.
Summary: if "news.directory" pref points to a file that doesn't exist, we fail to migrate other files properly → if "news.directory" pref points to a directory that doesn't exist, we fail to migrate other files properly
Hmm. I do indeed have no ~/news. Will try workaround.
you do have ~/news? hmm. what are the permissions and owner for that directory? also, check if /tmp/preferences.js exists and is not owned by you. http://bugzilla.mozilla.org/show_bug.cgi?id=58371
I don't have ~/news. My apologies for the somewhat convoluted wording on my last comment... I have tried creating ~/news, and migration now works. My smtp server preferences still do not get migrated, but other than that all is good.
boris, I'm glad you didn't have a ~/news, otherwise we'd have another bug. your smtp prefs didn't migrate? Let me investigate that.
migration bugs to racham
Assignee: sspitzer → racham
Status: ASSIGNED → NEW
Product: Browser → MailNews
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.9
Target Milestone: mozilla0.9.9 → mozilla1.2
mass re-assign.
Assignee: racham → sspitzer
Status: ASSIGNED → NEW
Product: MailNews → Core
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
as with bug 45777... ->WONTFIX since 4.x migation has been dropped on trunk. If one has an overwhelming need to see this fixed on branch, please attach a patch and reopen the bug. Also, evaluate whether the issue is a bug or an enhancement request and adjust severity accordingly. filter bugmail for "4.xmidrop" to delete these messages.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → WONTFIX
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.