Closed Bug 1819318 Opened 1 year ago Closed 1 year ago

[imap-js] Message filters to move message when getting new mail do not work if the target folder wasn't open

Categories

(MailNews Core :: Filters, defect)

Thunderbird 112
defect

Tracking

(thunderbird_esr102 unaffected)

RESOLVED WORKSFORME
Tracking Status
thunderbird_esr102 --- unaffected

People

(Reporter: NicolasWeb, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: regression)

Steps to reproduce:

  1. Set an email account that is non GAFAM
  2. Set some messages filters that run on incoming emails and move messages from inbox to a folder (for example a Bugmail ;) )
  3. Quit TB
  4. Wait for receiving an email that should be filtered (for example, save some changes in bug)
  5. Start TB

Actual results:

  1. Filter is created and active
  2. Messages are not moved out from inbox to folder

Expected results:

Messages should be moved out from inbox to folder

This worked fine in TB 102 & TB 110b4

Not sure if that enter Supernova criteria, if that affect Message list, ... so blocking for the moment, until Triage happens ;-)

Keywords: regression
Summary: Message filters do not run when getting new mail → Message filters do not run when getting new mail [imap-js]

Should I report it against MailCore product or Thunderbird ? Both have Filters component

See Also: → 1819337

imap-js specific (i.e. doesn't happen when imap-js is preffed off) will never be supernova related (or if it ever is, extremely rare)

No longer blocks: sn-msglist

I can reproduce it, but only if I didn't go to the target folder a bit before. With the target folder "open" (connected) it works as expected.
Nicolas, can you confirm?

Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: Message filters do not run when getting new mail [imap-js] → [imap-js] Message filters to move message when getting new mail do not work if the target folder wasn't open

It seems to me it works with today build. Is that the case for you Magnus ?
(I didn't had the time to try your scenario in comment 4 yet)
(Do not hesitate to NI me, so I can see it in my Dashbord ;) )

Flags: needinfo?(mkmelin+mozilla)

(In reply to Magnus Melin [:mkmelin] from comment #4)

I can reproduce it, but only if I didn't go to the target folder a bit before. With the target folder "open" (connected) it works as expected.
Nicolas, can you confirm?

No, sorry. I have filters that move some messages 2-3 everyday, even I don't open the destination folder for the entire session.
Maybe your case is a sub one, or a more specific.

My way to test it, having control on what happen, is to:

  1. set a filter for FxA to a folder I never open
  2. In Firefox, disconnect and reconnect to my FxA

Indeed, seems to work for me too with today's build. Maybe resolved as a side effect of changes in bug 1818247 then.

Status: NEW → RESOLVED
Closed: 1 year ago
Flags: needinfo?(mkmelin+mozilla)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.