Ticket #1753 (new defect)

Opened 2 years ago

Last modified 2 years ago

Mail message save problem

Reported by: cvieru Assigned to: tziade
Priority: P2 Milestone:
Component: CPSMailAccess Version: 3.4.0
Severity: normal Keywords:
Cc:

Description

It seems that whenever you save a message on the IMAP server side there's a message for each save. At first glance there doesn't appear to be any problem on the client size ( except maybe a list of the same message in the drafts folder, but i was unable to get a rule for when these messages appear or not ), but after you restart the zope server the problem becomes evident. You have a message for each save ( for example if you add an attachment before each save, every mail has only the one attachment added before saving ) and there isn't a correct mail among those in the list. After some debugging it seems that when you save on the IMAP server, the method call (uid = connector.writeMessage(drafts.server_name, msg.getRawMessage()) in mailbox.py/class MailBox?/method saveEditorMessage ) returns an id for that message, and the id is always a new one ( incremented ), but the message in the editor never gets updated, and even i fix so it will get updated the problem still appears

Change History

10/04/06 09:34:30 changed by tziade

  • priority changed from P1 to P2.
  • severity changed from critical to normal.

the bug is:

When a message is created with a file, then saved as draft, then a second file created. A second draft will loose the first file