Open Bug 856396 Opened 12 years ago Updated 2 years ago

Need better way than "delete .msf file manually" to force re-fetch of message header and message body for maildirstore/IMAP/Offline-Use=On folder, if design of "Repair Folder" in maildirstore/IMAP is changed from berkleystore/IMAP

Categories

(MailNews Core :: Database, enhancement)

enhancement

Tracking

(Not tracked)

People

(Reporter: World, Unassigned)

References

(Blocks 2 open bugs)

Details

(Whiteboard: [maildir])

[Build ID] > Mozilla/5.0 (Windows NT 5.1; rv:22.0) Gecko/20100101 Thunderbird/22.0a1 Need better way than "delete .msf file manually" in order to force re-fetch of mesaege header and message body for maildirstore/IMAP/Offline-Use=On folder, if design of "Repair Folder" in maildirstore/IMAP is changed from berkleystore/IMAP. Just an idea. (A) Per folder "Re-fetch of all message headers". "uid xx fetch body[headers]" + comparison of all header lines with content of cur/nnnn file (uid xx fetch body[], if header is different) + current "Repair Folder" in maildirstore/IMAP/Offline-Use=On (reparse message headers held in Mbox/cur/nnnn file) (B) Per mail "Re-fetch of entire message data". Similar to current "per mail Undelete" in mail context menu for "mail marked as deleted" with "Just mark it as deleted". Set Offline=false in msgDHdr.flags + delete Mbox/cur/nnnn file + msgDBHdr.setStringProperty("storeToken",null) + nsIMsgImapMailFolder.downloadMessagesForOffline(), or force message re-display(no local mail data, then fetched) => uid xx fetch body[] => saved in Mbox/cur/nnnn => return to Offline=true in msgDNHdr, StringProperty of storeToken=nnnn
No longer depends on: 856387
OS: Windows XP → All
Hardware: x86 → All
Summary: Need better way than "delete .msf file manually" in order to force re-fetch of mesaege header and message body for maildirstore/IMAP/Offline-Use=On folder, if design of "Repair Folder" in maildirstore/IMAP is changed from berkleystore/IMAP → Need better way than "delete .msf file manually" to force re-fetch of mesaege header and message body for maildirstore/IMAP/Offline-Use=On folder, if design of "Repair Folder" in maildirstore/IMAP is changed from berkleystore/IMAP
Blocks: 856407
No longer blocks: 856407
Blocks: 859011
No longer blocks: maildirblockers
Summary: Need better way than "delete .msf file manually" to force re-fetch of mesaege header and message body for maildirstore/IMAP/Offline-Use=On folder, if design of "Repair Folder" in maildirstore/IMAP is changed from berkleystore/IMAP → Need better way than "delete .msf file manually" to force re-fetch of message header and message body for maildirstore/IMAP/Offline-Use=On folder, if design of "Repair Folder" in maildirstore/IMAP is changed from berkleystore/IMAP
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.