Ticket #1753 (new defect)

Opened 13 years ago

Last modified 13 years ago

Mail message save problem

Reported by: cvieru Owned by: tziade
Priority: P2 Milestone:
Component: CPSMailAccess Version: 3.4.0
Severity: normal Keywords:


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

comment:1 Changed 13 years ago 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

Note: See TracTickets for help on using tickets.