Open Bug 647487 Opened 15 years ago Updated 2 years ago

Broken index on any folder causes "Mark all folders read" to break

Categories

(Thunderbird :: Folder and Message Lists, defect)

x86
macOS
defect
Not set
major

Tracking

(blocking-thunderbird5.0 -)

UNCONFIRMED
Tracking Status
blocking-thunderbird5.0 --- -

People

(Reporter: mitra_lists, Unassigned)

References

Details

User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0) Gecko/20100101 Firefox/4.0 Build Identifier: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0pre) Gecko/20110401 Thunderbird/3.3a4pre The folder-indexing-breaks (see bug# 537430) is causing a bug where Mark Folders Read appears to fail. Reproducible: Always Steps to Reproduce: 1.In a case where you have some folders with broken indexes (See Bug# 537430) 2.Select a collection of folders including at least one with broken index, and another (lower in the selection) that has unread messages 3. Ctrl-Click "Mark Folders Read" Actual Results: Nothing happens ... Expected Results: It should mark the unread messages read. The Error Console shows Error: uncaught exception: [Exception... "Component returned failure code: 0x80550006 [nsIMsgFolder.markAllMessagesRead]" nsresult: "0x80550006 (<unknown>)" location: "JS frame :: chrome://messenger/content/mailWindowOverlay.js :: MsgMarkAllRead :: line 2007" data: no] This appears to be another case of TB being very intolerant of data errors, and neither fixing them i.e. whatever generated this failure has seen the index is broken and IMHO should (in order of preference) either a) fix it. b) ignore it or c) report the error. Throwing a silent exception that breaks whatever called the problem just leads to reports of completely unrelated bugs - i.e. someone else might report this bug as "Mark Folders Read sometimes fails" .
blocking-thunderbird5.0: --- → ?
blocking-thunderbird5.0: ? → -
Severity: normal → major
Mitra does this still reproduce for you?
Flags: needinfo?(mitra_lists)
See Also: → 537430
Wayne - Yes - its still happening for me. Its giving an error message Error: uncaught exception: 2147746065
Flags: needinfo?(mitra_lists)
By the way, I don't know if this is also causing the really bad issues with Gloda finding messages, but not being able to open them. That seemed to correlate to busted indexes on folders.

User Agent Mozilla/5.0 (X11; Linux x86_64; rv:115.0) Gecko/20100101 Thunderbird/115.8.0
OS Linux 6.1.0-18-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.76-1 (2024-02-01)

I confirm that the original bug report is still valid and relevant today, especially when no feature to "Repair all folders" is available.

You need to log in before you can comment on or make changes to this bug.