Closed
Bug 23744
Opened 26 years ago
Closed 26 years ago
failure to save prefs after running the Account Wizard
Categories
(MailNews Core :: Backend, defect, P3)
Tracking
(Not tracked)
VERIFIED
FIXED
M13
People
(Reporter: sspitzer, Assigned: sspitzer)
References
Details
I've been seeing this bug, more details coming soon.
in AccountWizard.js, line 207, prefs.SavePrefFile();
I haven't investigated, but it's a bad bug.
basically, if you run mozilla the first time, set up accounts, and quit, when
you come back, they are all gone.
(data loss)
I'll investigate today.
| Assignee | ||
Updated•26 years ago
|
Status: NEW → ASSIGNED
Target Milestone: M13
| Assignee | ||
Comment 1•26 years ago
|
||
marking m13, accepting
| Assignee | ||
Comment 3•26 years ago
|
||
here's the error I see on the console:
Error saving prefs!
ex = [Exception... "Component returned failure code: 0xfffffffd
[nsIPref.SavePrefFile]" nsresult: "0xfffffffd (<unknown>)" location: "JS frame
:: chrome://messenger/content/AccountWizard.js :: onFinish :: line 206" data:
no]
to reproduce, do this:
new profile
launch mail, wizard will auto. pop up
add an imap server, when you hit "finish" you'll get this error.
| Assignee | ||
Comment 4•26 years ago
|
||
ok, I got a beat on this bug.
I think the problem only occurs when you use -CreateProfile
if you use the profile wizard, you won't get this bug, because that code path
creates and initalizes prefs correctly.
when you use -CreateProfile, it doesn't, so SavePref failes because the file
spec that is supposed to point to the prefs.js file is null, because there is no
prefs.js file!
I'm testing a fix for this right now.
| Assignee | ||
Comment 5•26 years ago
|
||
fix in hand, getting it reviewed now.
in the mean time, I'll look at other profile bugs to see if this will fix them.
| Assignee | ||
Comment 6•26 years ago
|
||
fixed.
| Assignee | ||
Updated•26 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 7•26 years ago
|
||
marking fixed.
Comment 8•26 years ago
|
||
How do I reproduce this problem? I used the 1/11 and 1/12 build for Linux and
Windows and the accounts remain after restarting. I created the new accounts
using the New button on the "Profiles & Migration" window.
| Assignee | ||
Comment 9•26 years ago
|
||
on linux, reproduce like this:
rm ~/.mozilla
mozilla -CreateProfile foobar
launch mail, create an account, doesn't matter which one
(if the bug exists, you see that javascript error to the console)
(exit mozilla, if the bug exists, you won't see ~/.mozilla/foobar/prefs.js)
with the fix,
you won't get the error
and you will get a prefs.js file.
Comment 10•26 years ago
|
||
Waiting on 24668 to be fixed so I can click on the Finish button w/t a crash.
Depends on: 24668
Comment 11•26 years ago
|
||
Build 2000012520M13: NT4, Linux 6.0
Verified Fixed.
Status: RESOLVED → VERIFIED
Updated•21 years ago
|
Product: MailNews → Core
Updated•18 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•