Closed Bug 530459 Opened 15 years ago Closed 15 years ago

Wrong IMAP folder deleted if "Sent" folder changed and TB _not_ relaunched

Categories

(Thunderbird :: Folder and Message Lists, defect)

x86
macOS
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: steven, Unassigned)

Details

(Keywords: dataloss, Whiteboard: closeme 2010-03-25 [waiting reporter protocol log])

User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_1; en-us) AppleWebKit/531.9 (KHTML, like Gecko) Version/4.0.3 Safari/531.9 Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.5) Gecko/20091121 Thunderbird/3.0 If the preferences are changed to When Sending Place a copy in: Other: <folder> and the _previous_ selection is deleted from the folder list, and the trash emptied, the _newly_ chosen folder gets deleted, resulting in massive data loss. Reproducible: Always Steps to Reproduce: 1) Create new user on the mail server (I'm using Verio, but I don't think that's relevant)*. 2) Add this account to TB as IMAP. 3) Send Message1 from TB. By default TB stores Messagel in “Sent” 4) Send Message2 from webmail on the mail server. My mail server's webmail stores mail in “Sent Items” by default, so now I have two "folders that contain sent messages." 5) Quit/relaunch TB so it "sees" the new "Sent Items" folder on the server. 6) Go to TB Account Settings and change "When Sending Messages: Place A Copy In: Other:" then point it to the server's "Sent Items". 7) Send Message3 from TB. "Sent Items" is now seen in the folder list, and contains both Message2 sent from Webmail and Message3 just sent from TB. 8) From TB move Message1 from “Sent” to “Sent Items”, which now contains all 3 messages. 9) From TB delete the folder labeled “Sent”, which should no longer contain any messages. 10) View "Sent" folder in Trash, verify that it’s empty. 11) Empty trash 12) Quit and restart TB, then click on "Sent Items". TB displays an "SELECT mailbox does not exist" error and Sent Items disappears from the folder list. 13) Send a message from TB; “Sent Items” is recreated, but is now empty. All the previously-sent emails are lost forever. Actual Results: The "Sent Items" folder was deleted. Expected Results: Only the "Sent" folder should have been deleted. I found this first in TB2, but it only occurred if Offline items were enabled and both the Sent and Sent Items folders were enabled for offline use.
* It may be relevant only because Verio's webmail stores sent messages by default in "Sent Items" whereas TB uses "Sent", which is what caused me to change the setting.
Can you provide an imap log (see https://wiki.mozilla.org/MailNews:Logging for docs on how to get the log)- showing us what happens when you reproduce your issue ?
Keywords: dataloss
Whiteboard: [waiting reporter protocol log]
Version: unspecified → 3.0
Whiteboard: [waiting reporter protocol log] → closeme 2010-03-25 [waiting reporter protocol log]
RESOLVED INCOMPLETE due to lack of response to last question. If you feel this change was made in error, please respond to this bug with your reasons why.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.