Closed
Bug 85921
Opened 23 years ago
Closed 23 years ago
can't save more than one message in drafts folder
Categories
(MailNews Core :: Backend, defect, P1)
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla0.9.2
People
(Reporter: blizzard, Assigned: cavin)
References
Details
(Whiteboard: [nsbeta1+])
Attachments
(1 file)
711 bytes,
patch
|
Details | Diff | Splinter Review |
From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux 2.4.2-2smp i686; en-US; rv:0.9.1+) Gecko/20010614 BuildID: 20010614 When I save more than one message from composer the second message doesn't show up in the drafts folder. Reproducible: Always Steps to Reproduce: 1. Open the composer. 2. Open the Drafts folder in your Local Mail folder. 2. Type in a sample test message. 3. Click "Save" to save the message. 4. Change something in the message. 5. Click "Save" to save the message again. Actual Results: Second message doesn't show up in the message list. Depending on whether or not you have any messages in there before the first message sometimes the first message won't show up either. Expected Results: All messages in the folder should be listed in the message list. I've tried blowing away the Drafts folder and it doesn't make a difference. As soon as I try to add a second message it fails to display messages.
Assignee | ||
Comment 2•23 years ago
|
||
Accepted. I'll see if I can reproduce it.
Assignee | ||
Comment 3•23 years ago
|
||
Assignee | ||
Comment 4•23 years ago
|
||
Navin, can you review the patch? It fixes the local draft problem and hope it doesn't break anything else.
Comment 6•23 years ago
|
||
moving to 0.9.2
Priority: -- → P1
Whiteboard: [nsbeta1+]
Target Milestone: --- → mozilla0.9.2
Comment 7•23 years ago
|
||
r=naving, cavin could you try simple cases of copying single & multiple messages from imap and news to local before checking in.
Priority: P1 → --
Whiteboard: [nsbeta1+]
Target Milestone: mozilla0.9.2 → ---
Updated•23 years ago
|
Priority: -- → P1
Target Milestone: --- → mozilla0.9.2
Updated•23 years ago
|
Whiteboard: [nsbeta1+]
Assignee | ||
Comment 8•23 years ago
|
||
OK. Checked a few cases of moving msgs between folders and they all worked fine. But I encountered a separate problem during testing and filed bug #86018 against it.
Comment 9•23 years ago
|
||
a= asa@mozilla.org for checkin to the trunk. (on behalf of drivers)-Asa
Blocks: 83989
Comment 10•23 years ago
|
||
Bug 85758 looks like a dupe.
Assignee | ||
Comment 11•23 years ago
|
||
Fix checked in.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Comment 12•23 years ago
|
||
Take a look at bug #84905 - there we were discussing whether to return D&D behaviour to be "always move the message" instead of "move when same server, otherwise copy". It seems that the fixed checked in for this bug made it harder to fix 84905 - my simple two-line fix to messagednd.js no nonger works (at least for POP -> Local). In short, if POP -> Local CopyMessage is requested from D&D with IsMove == PR_TRUE, this "fix" seems to cause it to preform a copy and not a move! And we need to be able to do a move with D&D - the only thing that is not decided so far is whether to do it by default (bug 84905 or when Shift is pressed - 85515).
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 13•23 years ago
|
||
Sorry, strike that, I was wrong, D&D is still working as its supposed to after this patch. Sorry again for the spam.
Status: REOPENED → RESOLVED
Closed: 23 years ago → 23 years ago
Resolution: --- → FIXED
Comment 14•23 years ago
|
||
Linux (200106-19-14 trunk) Using the same scenario, the second time I save the same message over-rides the first message even if I change the subject. But if I close the compose, start another message, it will save the second message.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 15•23 years ago
|
||
fenella, this is the right behavior because draft messages are saved based on the unique message ids and not the subject (or any other message fields). In other words, no matter what you change (subject, body text, recipients, etc.) in the message the second time (and hit Save), there should be only one message saved to the draft folder (ie, new one overrides the existing one). If you start another compose and save the message then it'll be saved as a separate message becuse it now has a different unique message id than the first message you saved. Marking FIXED.
Status: REOPENED → RESOLVED
Closed: 23 years ago → 23 years ago
Resolution: --- → FIXED
Comment 16•23 years ago
|
||
Using build 2001-06-29 on win, mac and linux you can save more than one message to the IMAP & Local drafts folder. Note, as Cavin pointed out, if you edit a draft message mulitiple times and save it will only save the last edited copy of the draft msg. The original scenario is confusing, not sure if reporter expected the edited draft to save the edited msg as another new draft, if so that is incorrect behavior. Verified.
Status: RESOLVED → VERIFIED
Updated•20 years ago
|
Product: MailNews → Core
Updated•16 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•