Closed Bug 348662 Opened 18 years ago Closed 18 years ago

incoming filters for rss feeds broken

Categories

(MailNews Core :: Feed Reader, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: Bienvenu, Assigned: Bienvenu)

Details

(Keywords: fixed1.8.1)

Attachments

(2 files)

I think I broke incoming filters for rss feeds by accidentally checking in a change to nsMsgLocalMailFolder::AddMessage - basically, that routine, to be useful for extensions, shouldn't assume it should run message filters. So I changed it to check if we're getting new messages before applying filters. But I didn't check in the corresponding change to FeedItem.js, which is to set gettingNewMessages. Fix upcoming.
Attached patch proposed fixSplinter Review
Attachment #233645 - Flags: superreview?(mscott)
Attachment #233645 - Flags: superreview?(mscott) → superreview+
while testing this, I found out that rss filters that move/copy to an imap folder weren't firing their actions. This fixes that by triggering the firing of coalesced imap move/copy actions (which will be just one move/copy). Ideally, we'd be waiting for all the downloads for the feed to be done before firing the move/copies, but that will require some tweaks to the way newsblog stores messages, and some tweaks to nsMsgLocalMailFolder::AddMessage - currently newsblog calls it for every message, but there's no indication that we're starting or finishing message retrieval for a feed, so there's no way for nsMsgLocalMailFolder::AddMessage to cache the mailbox parser and batch the move/copies.
Attachment #233666 - Flags: superreview?(mscott)
Attachment #233666 - Flags: superreview?(mscott) → superreview+
fixed trunk and branch - now you can setup filters to store your feeds on imap folders...
Status: NEW → RESOLVED
Closed: 18 years ago
Keywords: fixed1.8.1
Resolution: --- → FIXED
I noticed this had been broken, and it's definitely fixed with TB 3a1-0816, Win2K. Maybe if you get a chance, you could look at bug 264382.
Status: RESOLVED → VERIFIED
Component: RSS → Feed Reader
Product: Thunderbird → MailNews Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: