Closed Bug 52331 Opened 24 years ago Closed 24 years ago

Every save draft creates a new draft

Categories

(MailNews Core :: Backend, defect, P3)

All
Mac System 8.5
defect

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 11387
Future

People

(Reporter: sfraser_bugs, Assigned: rhp)

Details

While composing an email, every time I save, it creates a new draft in the drafts folder. After the first time, it should just update the existing draft.
jeff/rhp, which one of you owns saving to drafts?
I thing rhp has already a bug on that. Reassign to him...
Assignee: mscott → rhp
Don't have another bug like this, but I will investigate. - rhp
Status: NEW → ASSIGNED
Target Milestone: --- → M19
It may be on my plate. (And you are welcome to take it. :-) )We didn't get a chance to implement the "post delivery action" kind of thing. Similar bugs like not setting replied or forwarded flag falls into the same category.
Shouldn't this be nsbeta3?
It's a big task especially working along with IMAP servers. I don't think we can make it for the final release.
What? Wow. This is like a basic feature. And it will cause lots of people's draft folders to grow hugely, unless you can remove all copies of the draft on sending.
Oh well, users can delete the drafts themself or pay me more money I'll work day & night, non-stop!
FYI: When you re-edit a draft message, msgcompose has the draft get the draft ID from mime. And I am pretty sure that it's in the message header when we send/save the message.
QA Contact: esther → pmock
Just updating with a full explanation of the issue here. - rhp No, it won't work. Several things need to happen here. Imap is more difficult than pop3. We have to do both pop3 and imap else the product will be in inconsistency state. Bad. For Pop3: 1) We need to have post delivery action service implemented. Need this for both pop and imap. 2) When done with saving the new draft. New message id need to pickyback from the delivery done callback. 3) If saving succeeded delete the old message, associate new draft id with the compose window (swopping them). 4) Update the thread pane, remove the old draft message, then select the newly saved draft. Pop3 is easier because it can implemented synchoronously. For Imap, all operations are asynchoronous and there are three mode of deleting message to deal with they all need to work well.
Target Milestone: M19 → Future
Isn't this a dup of see bug 11387?
Right, it's a dup... *** This bug has been marked as a duplicate of 11387 ***
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
Verified as duplicate of bug 11387.
Status: RESOLVED → VERIFIED
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.