Closed
Bug 23366
Opened 26 years ago
Closed 26 years ago
Migration: confirm.moveFoldersToTrash true doesn't migrate right
Categories
(MailNews Core :: Profile Migration, defect, P3)
MailNews Core
Profile Migration
Tracking
(Not tracked)
VERIFIED
FIXED
M13
People
(Reporter: laurel, Assigned: sspitzer)
Details
Using jan06 builds on all platforms
The pref for confirm.moveFoldersToTrash doesn't show in 4.x prefs.js if the pref
value is true (enabled). If a profile with this pref enabled in 4.x is
migrated, the 5.0 UI will not pick up the pref enabled state (and doesn't show a
pref line in the prefs.js file).
Note: if the pref is enabled/checkmarked in 5.0, the enabled state will stick
in UI and a line will be written to prefs.js with value set to true.
1. Open a profile in 4.x.
2. Edit|Prefs|Mail and Newsgroups. Enable/checkmark the preference "Confirm
when moving folders to trash" and confirm OK. Exit 4.x.
3. Open 4.x prefs.js file and note there is no pref line for the relative pref:
confirm.moveFoldersToTrash. (If the 4.x pref is disabled/false there would be a
prefs line.)
4. Migrate the profile to 5.0, go to mail.
5. Check the preference in the UI -- the pref is disabled/not checkmarked.
6. Check the 5.0 prefs.js file -- there is no prefs line.
Actual result: The pref enabled in 4.x is not enabled in 5.0 after migration.
User must set the pref to enabled state in 5.0.
Expected result: The pref enabled in 4.x should migrate to enabled state in
5.0.
| Assignee | ||
Updated•26 years ago
|
Target Milestone: M13
| Assignee | ||
Comment 1•26 years ago
|
||
fixed.
the problem was we weren't defining the default for this pref in mailnews.js
| Assignee | ||
Updated•26 years ago
|
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 2•26 years ago
|
||
marking fixed.
Now the UI is correctly enabled after migration. There is still no pref.js line
written for the case of enabled/true.
OK using:
2000-01-18-11m13 commercial build on NT 4.0
2000-01-18-11m13 commercial build on linux 6.0
| Assignee | ||
Comment 4•26 years ago
|
||
there is no prefs line because you are matching the default value.
alecf recently made it so if you are the default, it won't show.
Comment 5•26 years ago
|
||
yeah, the UI is the correct place to look.
Comment 6•26 years ago
|
||
(oh, and this is only true for the account settings, all other prefs still
behave normally)
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
•