Closed Bug 279366 Opened 21 years ago Closed 1 year ago

"Options > Send a Copy" makes copy on SAVE; multiple saves results in multiple copies in the Drafts folder

Categories

(MailNews Core :: Composition, defect)

x86
Windows 2000
defect

Tracking

(Not tracked)

RESOLVED FIXED
142 Branch

People

(Reporter: KlausRusch, Assigned: welpy-cw)

References

(Blocks 1 open bug)

Details

Attachments

(3 files, 1 obsolete file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910 When setting a folder where mail should be stored using Options > Send a copy to, a copy of the mail is stored in that folder not only when the message is sent (once) but every time the message is saved/saved as draft. A copy should only be placed when the mail is actually sent. Reproducible: Always Steps to Reproduce: 1. Compose 2. Options > Send a copy to > Select folder 3. Hit Ctrl-S, Ctrl-S, Ctrl-S => three copies of the mail have been saved in the specified folder Actual Results: Multiple copies of the mail in the designated folder Expected Results: One copy of the mail in the designated folder after sending the mail only
(In reply to comment #0) > Actual Results: > Multiple copies of the mail in the designated folder I do not see this. I see a single copy stored in the designated folder (and updated each time if edits are made between saves), but multiple copies being stored in the DRAFTS folder. If the "Save a copy to" setting has not been made, then multiple saves overwrite the copy in Drafts. However, I agree with reporter, the copy should not be saved at all until the message is sent. Maybe these are separate bugs. Moz 1.7.5, Moz 1.8b-0120, TB 1.0; Win2K. Also (separate problem) -- if the original composition window is closed, and then a draft is edited, the Save A Copy setting is not restored.
Status: UNCONFIRMED → NEW
Component: MailNews: Main Mail Window → MailNews: Composition
Ever confirmed: true
OS: Windows XP → Windows 2000
Product: Mozilla Application Suite → Core
Summary: Options > Send a copy to stores multiple copies of the message → "Options > Send a Copy" makes copy on SAVE; multiple saves results in multiple copies in the Drafts folder
Version: unspecified → Trunk
I can reproduce this bug on Firefox 1.5.0.3, windowsXP SP2. I have been getting this problem since FF 1.5 (fairly sure). Pasting is fine multiple times, but as soon as you try to copy twice, nothing gets pasted anymore.
sorry for the spam. making bugzilla reflect reality as I'm not working on these bugs. filter on FOOBARCHEESE to remove these in bulk.
Assignee: sspitzer → nobody
The problem still persists in the latest Seamonkey build Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070802 SeaMonkey/1.1.4
QA Contact: composition
Product: Core → MailNews Core
Klaus, can you reproduce this also with thunderbird 2? (just as a test) www.getthunderbird.com
Wayne Mery, Bug 488075 is report for Tb trunk(Tb 3). Bug 488075 is DUP of this bug?
No longer blocks: 488075
No longer blocks: 488075
Blocks: tb-drafts
See Also: → 1322216

TCW can you reproduce?

Flags: needinfo?(thee.chicago.wolf)

(In reply to Wayne Mery (:wsmwk) from comment #10)

TCW can you reproduce?

Well, I'll be. Yup, I can sort of repro this but slightly in reverse order.

My STR:

  1. Open Composer and type oo@oo.com into the To: field
  2. Now, click Options > Send A Copy To > pick some folder belonging to the same account that would be sending to oo@oo.com
  3. Hit Ctrl-S a few times

Actual Results:
A few copies get saved in the Drafts folder, not the folder chosen in Step 2. Only one copy gets saved in the folder from Step 2.

Expected Results:
Probably not the same as the Actual Results.

Flags: needinfo?(thee.chicago.wolf)

Oddly, nothing in Error Console.

This is odd too. I went to delete all the copies in Drafts and it nuked the copy in the folder from step 2. How do you like them apples?

Attached image huh.png (obsolete) —

What new he** is this? The folder that I used as a guinea pig has now change into a...drafts folder? In this image, the folder used to be below the Trash folder. Now it's icon is different and I can't move it or change it back? What do you think happened?

Attachment #9274528 - Attachment is obsolete: true
Attached image huh.png

So after fiddling with this a bit, it now seems I can't make TB see this as a folder any longer. Even after deleting it via GMail's web UI and recreating it, TB recreates it as a Draft folder. This change seems permanent and on the TB side. =(

Functionally, it seems ok as I have filters set up to push mails into it every 8AM. So other than it taking on the icon of a draft folder, it still seems to be a folder. Or, Label, in GMail-speak.

I fixed my issue but this will likely bite someone else too so I am posting the solution / fix. After installing the Add-on, right-click the folder, choose Properties, click the Flags tab and uncheck the Drafts checkbox. Would be nice to have this flags tab (or something like it) handy for just this rare occasion.

I believe the effected folders have got a folder flag for drafts.

Please use this addon:

https://addons.thunderbird.net/en-us/thunderbird/addon/folderflags/

Severity: normal → S3
See Also: → 1955875
Blocks: 1841832
Blocks: 1866680
  • Save a copy to an additional folder only if the message is actually sent.
  • Ensure that the current draft is replaced in the drafts folder when FCC2 is set and the message is saved again.
  • This also prevents the additional CC folder from becoming a drafts folder when a message is saved with FCC2 set.
Assignee: nobody → h.w.forms
Status: NEW → ASSIGNED

The API currently expects save operations to honour the additional fcc,
which is no longer the case once D242713 lands.

This patch ensures that the send operations are not affected and
modifies the tests for the save operations to actually use an fcc and
verify that it is now ignored. The test modifications in D242713 simply
stopped using fcc altogether.

This patch also updates the API description.

Attachment #9493305 - Attachment description: WIP: Bug 279366 - Adjust tests and documentation after D242713 changed handling of additional fcc. → Bug 279366 - Adjust tests and documentation after D242713 changed handling of additional fcc. r=welpy-cw,aleca
Depends on: 1972633
Attachment #9473979 - Attachment description: Bug 279366 - Fix FCC2 handling when saving a message as draft. r=#thunderbird-reviewers → Bug 279366 - Fix FCC2 handling when saving a message as draft. r=john.bieling,mkmelin
Target Milestone: --- → 142 Branch

Pushed by arschmitz@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/89112fead816
Fix FCC2 handling when saving a message as draft. r=john.bieling,mkmelin
https://hg.mozilla.org/comm-central/rev/f1c35448824e
Adjust tests and documentation after D242713 changed handling of additional fcc. r=welpy-cw,aleca

Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Duplicate of this bug: 1866680
Duplicate of this bug: 1762371
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: