Closed Bug 264384 Opened 20 years ago Closed 10 years ago

Message Filters for RSS initially sets Account as Run-Now target and error nsIMsgFilterService.applyFiltersToFolders

Categories

(MailNews Core :: Filters, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: mcow, Unassigned)

Details

Thunderbird 0.8, Windows 2000

In the Message Filters window, when defining filters for RSS, the folder-select 
dropdown at the bottom of the window initially reads "RSS"; opening the dropdown 
shows the defined folders.  Selecting a folder, it is no longer possible to 
select "RSS" as an option -- which is good, since that isn't actually a folder.

If a filter is selected and Run Now clicked while the dropdown reads "RSS", TB 
throws a JavaScript error.


Reproducable: Always
Steps To Reproduce:
1) Define and set up an RSS account
2) Specify one or more feeds, create appropriate folder
3) Define a simple filter under RSS
4) Note state of target-folder dropdown at bottom of filters window
5) Select filter, click Run Now

Actual results:
at (4), target-folder dropdown shows the name of the RSS account
at (5), error appears in JS 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 417"  data: no]


Expected results:
at (4), dropdown shows some folder (probably the first) rather than account
at (5), no error
we still see this using 20041117-0.9 on winXP.

interestingly, running Tools > Run Filters on Folder does work.

would this be easy to fix for 1.0?
Flags: blocking-aviary1.0?
minusing for 1.0, there is a workaround.
Flags: blocking-aviary1.0? → blocking-aviary1.0-
Linux too, Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1a2) Gecko/20060519 Thunderbird/2.0a1 ID:2006051904.
OS: Windows 2000 → All
Hardware: PC → All
QA Contact: rss
I would add, if it's not going to do anything useful on "folder" RSS then "run now" should not be enabled as it currently is.
Assignee: mscott → nobody
Severity: minor → normal
Summary: Message Filters for RSS initially sets Account as Run-Now target → Message Filters for RSS initially sets Account as Run-Now target and error nsIMsgFilterService.applyFiltersToFolders
this should get ripped out until fixed so we don't get false bug reports.
Flags: wanted-thunderbird3?
Component: RSS → Feed Reader
Product: Thunderbird → MailNews Core
Component: Feed Reader → Filters
QA Contact: feed.reader → filters
post bug 878805, an account folder is no longer ever set as a filter run target.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
Flags: wanted-thunderbird3?
You need to log in before you can comment on or make changes to this bug.