Closed
Bug 1179442
Opened 9 years ago
Closed 9 years ago
imap maildir folder has false excess unread message count in folder pane
Categories
(MailNews Core :: Backend, defect)
Tracking
(thunderbird40 wontfix, thunderbird41 fixed, thunderbird42 fixed, thunderbird43 fixed, thunderbird_esr3841+ fixed)
RESOLVED
FIXED
Thunderbird 43.0
People
(Reporter: rkent, Assigned: rkent)
References
Details
Attachments
(1 file)
1.19 KB,
patch
|
mkmelin
:
review+
rkent
:
approval-comm-aurora+
rkent
:
approval-comm-beta+
rkent
:
approval-comm-esr38+
|
Details | Diff | Splinter Review |
One of my folders has an unread count in the folder pane that shows 37 unread messages more than are actually there. I have not been able to get rid of it. The count is correct on restart, but the first time I click on the folder it adds the extra false unread message count.
Assignee | ||
Comment 1•9 years ago
|
||
Here's why repair folder is failing. In folderpane.js, repair has: if (folder.supportsOffline) { // Remove the offline store, if any. let offlineStore = folder.filePath; if (offlineStore.exists()) offlineStore.remove(false); } which generates JavaScript error: chrome://messenger/content/folderPane.js, line 2443: NS_ERROR_FAILURE: Component returned failure code : 0x80004005 (NS_ERROR_FAILURE) [nsIFile.remove] That is, you cannot remove a maildir directory with a simple .remove command because it is a directory and not a file.
Assignee | ||
Comment 2•9 years ago
|
||
Although this can cause main thread lockup while the OS is deleting thousands of files, this is no different than how it is handled in the main maildir C++ code. For a repair operation, I think this is acceptable.
Assignee: nobody → rkent
Status: NEW → ASSIGNED
Attachment #8628544 -
Flags: review?(mkmelin+mozilla)
Comment 4•9 years ago
|
||
Comment on attachment 8628544 [details] [diff] [review] Make the offline store delete recursive Review of attachment 8628544 [details] [diff] [review]: ----------------------------------------------------------------- LGTM, sorry for the delay. r=mkmelin
Attachment #8628544 -
Flags: review?(mkmelin+mozilla) → review+
Assignee | ||
Comment 5•9 years ago
|
||
Comment on attachment 8628544 [details] [diff] [review] Make the offline store delete recursive http://hg.mozilla.org/comm-central/rev/780522954c42
Attachment #8628544 -
Flags: approval-comm-esr38?
Attachment #8628544 -
Flags: approval-comm-beta?
Attachment #8628544 -
Flags: approval-comm-aurora?
Assignee | ||
Updated•9 years ago
|
status-thunderbird41:
--- → affected
status-thunderbird42:
--- → affected
status-thunderbird43:
--- → fixed
status-thunderbird_esr38:
--- → affected
tracking-thunderbird_esr38:
--- → +
Assignee | ||
Updated•9 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 43.0
Assignee | ||
Comment 6•9 years ago
|
||
Comment on attachment 8628544 [details] [diff] [review] Make the offline store delete recursive https://hg.mozilla.org/releases/comm-esr38/rev/7b835a634206 https://hg.mozilla.org/releases/comm-beta/rev/166d8e44fb95 https://hg.mozilla.org/releases/comm-aurora/rev/b378d2df070c
Attachment #8628544 -
Flags: approval-comm-esr38?
Attachment #8628544 -
Flags: approval-comm-esr38+
Attachment #8628544 -
Flags: approval-comm-beta?
Attachment #8628544 -
Flags: approval-comm-beta+
Attachment #8628544 -
Flags: approval-comm-aurora?
Attachment #8628544 -
Flags: approval-comm-aurora+
Assignee | ||
Updated•9 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•