Closed Bug 10583 Opened 25 years ago Closed 25 years ago

[PREF MIGRATION] migrate 4.5 mail.default_* news.default_* prefs

Categories

(MailNews Core :: Backend, defect, P3)

defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: sspitzer, Assigned: sspitzer)

References

Details

// QueueForLater (Outbox) mail.default_sendlater_uri // SaveAsDraft (Drafts) mail.default_drafts_uri // SaveAsTemplate (Templates) mail.default_templates_uri // SaveInSentFolder (Sent) - nsMsgDeliverNow mail.default_fcc_uri // SaveInNewsSentFolder mail.default_newsfcc_uri The 4.5 prefs: mail.default_drafts mail.default_fcc mail.default_templates news.default_fcc not sure what sendlater was in 4.5
Status: NEW → ASSIGNED
Target Milestone: M10
Summary: migrate 4.5 mail.default_* news.default_* prefs → [PREF MIGRATION] migrate 4.5 mail.default_* news.default_* prefs
Assignee: alecf → sspitzer
Status: ASSIGNED → NEW
Here how it works: "mail.default_fcc" is the old (4.0x) path-style FCC, and will look something like "/u/alecf/nsmail/Sent" "mail.imap_sentmail_path" is the new (4.5+) IMAP-specific FCC, and is in the form of a URI..it will look something like "imap://alecf@tintin/Sent" mail.use_imap_sentmail is the boolean that tells whether or not to use the "new" pref. I assume we should be storing the new FCC in the identity, as a URI... so I assume these three prefs should migrate together to become mail.identity.<identityname>.fcc = "mailbox://alecf@tintin/Sent" or something like that. Seth said he wanted this, so here it comes.
Status: NEW → ASSIGNED
Bulk move mail/news M10 bugs to M11
*** Bug 11848 has been marked as a duplicate of this bug. ***
Blocks: 11091
duplicate bug had this dependency so I'm marking it here.
I just checked in the last bit of this fix. I'm going to test it tomorrow on windows and mac and make sure I covered all cases before I mark this fixed.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
Prefs appear to be migrating to identity okay like: user_pref("mail.identity.id1.fcc", true) user_pref("mail.identity.id1.fcc_folder", "imap://llarue@nsmail-1/foofolder") user_pref("mail.identity.id1.fcc_folder", "mailbox://nobody@Local Mail/Sent") user_pref("mail.identity.id1.draft_folder", "imap://llarue@nsmail-1/Drafts") User_pref("mail.identity.id1.stationary_folder", "imap://llarue@nsmail-1/Templates") These seem to be okay for basic instances I tried with mail and news, local and imap. Any other issues with these will be logged separately.
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.