Open
Bug 856396
Opened 12 years ago
Updated 1 month 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)
MailNews Core
Database
Tracking
(Not tracked)
NEW
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
Reporter | ||
Updated•12 years ago
|
Reporter | ||
Updated•12 years ago
|
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
Reporter | ||
Updated•12 years ago
|
No longer blocks: maildirblockers
Updated•5 years ago
|
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
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•