Closed Bug 308037 Opened 19 years ago Closed 19 years ago

Saving a new mail after "Edit As New" deletes original in templates or any other foldes

Categories

(SeaMonkey :: MailNews: Message Display, defect)

defect
Not set
critical

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: preuss, Unassigned)

References

Details

(Keywords: dataloss, regression)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20050909 SeaMonkey/1.1a
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20050909 SeaMonkey/1.1a

When I compose a new mail via "Edit as New" or via Double-Clicking of a template
and save it (Ctrl-S or Save as), then the original mail gets lost (deleted).
No problems when I do not save the new mail before sending.

Reproducible: Always

Steps to Reproduce:
1. Create a new mail via "Edit As New" of an existing mail in any folder or by
double-clicking on an existing template
2. Save the new mail via Ctrl-S (as Draft) or as template  
3. Send the new mail

Actual Results:  
The original mail gets a delete flag and disappears.

Expected Results:  
The original mail should be preserved at the original location.
I can confirm it, I see this with SeaMonkey trunk build 2005090105 on WinXP, but
not with 1.7 branch builds like Mozilla 1.7.11. No JS errors.

Adding dependency to the TB bug.
Severity: normal → critical
Status: UNCONFIRMED → NEW
Depends on: 292568
Ever confirmed: true
Keywords: dataloss, regression
OS: Windows XP → All
Hardware: PC → All
Version: unspecified → Trunk
WFM with Mozilla 1.8b2/20050401 but reproducible with Mozilla 1.8b2/20050402 ->
Core bug 288702?
at the moment partly fixed, see bug 292568 comment 11
WFM with Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1)
Gecko/20050913 SeaMonkey/1.1a after temporary fix, see bug 292568 comment 11
My only handicap with this fix:
Template gets lost after saving as template again and sending the mail
(just like a draft). But thats acceptable for me.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
Reopen, not really fixed. Adjusted the summary.

critical, because this is a changed behavior against Mozilla 1.7.
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Summary: Saving a new mail after "Edit As New" deletes original in templates or any other foldes (besides drafts) → Saving a new mail after "Edit As New" deletes original in templates and drafts
note bug 292568 comment 12
There's a fix for bug 317396 -- does that also solve this bug?
I tested many combinations, all were successful:

Double clicking or edit as new or edit Draft --> draft disappears after sending
Double clicking or edit as new from template --> template persists after sending
Edit as new from IMAP inbox or local folder  --> original mail persists after sending 

Thanks to all, I change resolution to FIXED
Status: REOPENED → RESOLVED
Closed: 19 years ago19 years ago
Resolution: --- → FIXED
SeaMonkey Trunk 2005120309 on WinXP. 
The behavior is still different to Mozilla 1.7.x and IMHO this is a bad idea. Edit as new from a draft msg and saving overwrites the original msg instead to create a NEW msg in Drafts. Sending does not delete the original draft msg.

So this is only a little bit better with bug 317396 comment 9 after bug 292568 comment 11. But for the drafts part I still see this as a bug, because as a user and in particular as a Mozilla Suite user I assume "Edit as New" does not delete the original draft message. I will file a new bug about this. Changed back the summary to the reporter's issue.
Summary: Saving a new mail after "Edit As New" deletes original in templates and drafts → Saving a new mail after "Edit As New" deletes original in templates or any other foldes
You need to log in before you can comment on or make changes to this bug.