Ticket #299 (closed Bugs: fixed)

Opened 16 months ago

Last modified 15 months ago

Unable to change flags for messages not in the current mailbox

Reported by: octo Owned by: octo
Priority: normal Milestone: 2.0
Component: LogicMail Version: 2.0.0
Keywords: Cc:
Blocked By: Blocking:

Description

If LogicMail attempts to change IMAP flags for a message not in the currently selected (at the IMAP layer) mailbox, the operation will fail.

Here is one way to reproduce the issue:

  1. Select a mailbox other than the INBOX
  2. Open a message
  3. Wait for just over 5 minutes, to ensure that LogicMail's connection thread switches back to IDLEing on the INBOX. (can be verified through packet sniffing)
  4. Reply/Forward the current message
  5. After sending notice the following error popup when LogicMail attempts to set the Reply/Forward indicator flag: "Invalid mailbox for message"

This can be easily solved by adding calls to checkActiveFolder() into the IncomingMailConnectionHandler methods for message flag update requests.

Change History

comment:1 Changed 15 months ago by octo

  • Owner set to octo
  • Status changed from new to accepted

comment:2 Changed 15 months ago by octo

  • Status changed from accepted to closed
  • Resolution set to fixed

In [835]:

Added calls to checkActiveFolder() to all flag change methods it was missing from (fixes #299)

Note: See TracTickets for help on using tickets.