Closed Bug 546275 Opened 15 years ago Closed 13 years ago

message filter limit and corruption - FilterListDialog.js :: runSelectedFilters :: line 359

Categories

(MailNews Core :: Filters, defect)

x86
Windows XP
defect
Not set
major

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: astrobiologist, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2) Gecko/20100115 Firefox/3.6 (.NET CLR 3.5.30729)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1

If you have more than about 140 message filters, you can't add more and the list of existing filters can become jumbled.
I could add additional filters but they would not show up in the list of filters. If I attempted to create a filter with the same name as one of the vanished filters, Tnunderbird said a filter with the same name already existed - even though it wouldn't display in the list. So they are not so much vanished as hidden. The hidden filters do not run.
I also noticed that the filters that were listed would become jumbled up, for instance if I edited one. In some cases listed filters would themselves vanish!


Reproducible: Always

Steps to Reproduce:
1. add filters until you have more than about 140
2.
3.
Actual Results:  
See details

Expected Results:  
Should have allowed more filters and should have listed themd and allowed them to be editted
was this a problem in version 2?
what do you see in tools|error console?
Component: Folder and Message Lists → Filters
Product: Thunderbird → MailNews Core
QA Contact: folders-message-lists → filters
From error console:
Error: uncaught exception: [Exception... "Component returned failure code: 0x80004003 (NS_ERROR_INVALID_POINTER) [nsIMsgFilterService.applyFiltersToFolders]"  nsresult: "0x80004003 (NS_ERROR_INVALID_POINTER)"  location: "JS frame :: chrome://messenger/content/FilterListDialog.js :: runSelectedFilters :: line 359"  data: no]
Summary: message filter limit and corruption → message filter limit and corruption - FilterListDialog.js :: runSelectedFilters :: line 359
Can you check bug 444793? There is a script attached that can generate any number of filters automatically. The author has tried even 10000 filters and it seems to work in TB. Can you try it in Thunderbird 7 or 8? Just generate the list and temporarily put it into the file msgFilterRules.dat in the Windows folder where your mail is stored (using Windows Explorer, not from inside Thunderbird). You already have that file containing your 140 filters so backup it temporarily.
Tell us what your results are.
(In reply to astrobiologist from comment #2)
> 0x80004003 (NS_ERROR_INVALID_POINTER)
> [nsIMsgFilterService.applyFiltersToFolders]"  nsresult: "0x80004003

It seems like this error happens when running the filters on a folder, not when editing the filters. It is not sure it is related.
aceman, fwiw, our reporter astrobiologist seems to be gone
So what now?
incomplete, unless you think there is something of value here.
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.