message draft lost if unable to login to IMAP server

NEW
Unassigned

Status

Thunderbird
Mail Window Front End
--
critical
14 years ago
5 months ago

People

(Reporter: Brett Russ, Unassigned)

Tracking

(Blocks: 1 bug, {dataloss})

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

14 years ago
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040615 Firefox/0.9
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040615 Firefox/0.9

This is similar to 216755, 232252, and 243184 but this situation seems to
warrant its own bug.  

Basically, I found it when composing an email with my "From" identity set to an
IMAP account that my ISP disabled.  I went to close the email and was prompted
to save which I tried to do.  It tried to login to the IMAP server to store the
message in the drafts folder.  I was prompted with a login box, but my
credentials were not accepted, so when re-prompted with the login box again I
clicked cancel and the message was dropped/lost/disappeared.  I should have
gotten the opportunity to return to the message and select a different identity
to save into or save it manually (Save as...).

Reproducible: Always
Steps to Reproduce:
1. compose an email using an identity that will prompt for credentials upon
draft save
2. induce a draft save
3. click cancel in the credentials/login box

Actual Results:  
message lost forever

Expected Results:  
Given me back my message window where I could:
1) choose another identity and try to save draft there OR
2) file->save as... to manually save the message somewhere OR
3) copy the text to the clipboard or otherwise preserve it without Tbird assistance

version 0.7 (20040615)
(Reporter)

Comment 1

14 years ago
Created attachment 152837 [details]
Ethereal trace of IMAP activity during reproduction of bug

I took a trace while reproducing this bug.  Here were the exact steps I used
(and traced during these exact steps):

-create new mail account using bogus credentials:
username: 7777qqqq
protocol: IMAP
server: pop.charter.net

-compose new mail using that identity
-enter anything in subject
-attempt to close compose window
-when prompted, select "save" of message
-select "cancel" to first login prompt
-select "cancel" to next login prompt
-message window disappears
(Reporter)

Comment 2

14 years ago
(In reply to comment #1)
> -select "cancel" to first login prompt
> -select "cancel" to next login prompt

Perhaps a separate bug, but why do I get prompted for login again if I've
cancelled the first time?  I can see if I tried to login and failed, but cancel
is me actively requesting to "forget about it".

Also, I wanted to add that I reproduced this one on 0.7.1.

thanks!
Brett
This is an automated message, with ID "auto-resolve01".

This bug has had no comments for a long time. Statistically, we have found that
bug reports that have not been confirmed by a second user after three months are
highly unlikely to be the source of a fix to the code.

While your input is very important to us, our resources are limited and so we
are asking for your help in focussing our efforts. If you can still reproduce
this problem in the latest version of the product (see below for how to obtain a
copy) or, for feature requests, if it's not present in the latest version and
you still believe we should implement it, please visit the URL of this bug
(given at the top of this mail) and add a comment to that effect, giving more
reproduction information if you have it.

If it is not a problem any longer, you need take no action. If this bug is not
changed in any way in the next two weeks, it will be automatically resolved.
Thank you for your help in this matter.

The latest beta releases can be obtained from:
Firefox:     http://www.mozilla.org/projects/firefox/
Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html
Seamonkey:   http://www.mozilla.org/projects/seamonkey/
(Reporter)

Comment 4

13 years ago
Bug still appears in Thunderbird 1.0.6.  I just reproduced it by following the
steps in comment #1.

Comment 5

13 years ago
*** This bug has been confirmed by popular vote. ***
Status: UNCONFIRMED → NEW
Ever confirmed: true
QA Contact: front-end

Updated

10 years ago
Assignee: mscott → nobody
(Reporter)

Comment 6

9 years ago
(In reply to comment #4)
> Bug still appears in Thunderbird 1.0.6.  I just reproduced it by following the
> steps in comment #1.

Bug still appears in Thunderbird 2.0.0.21.  Same steps as comment 1.

Comment 7

9 years ago
are you game to try a beta version?  
 http://www.mozillamessaging.com/en-US/thunderbird/early_releases/
they are stable, but backup your profile before using
Keywords: dataloss
(Reporter)

Comment 8

9 years ago
(In reply to comment #7)
> are you game to try a beta version?  
>  http://www.mozillamessaging.com/en-US/thunderbird/early_releases/
> they are stable, but backup your profile before using

OK, tried 3.0b2 on Linux (same OS as all former tries), using steps from comment 1:

-compose new mail using that identity
-enter anything in subject
-attempt to close compose window
-when prompted, select "save" of message

here, instead of displaying a login prompt, the message sits forever with the "Copying message to Drafts folder..." displayed in the status bar.  Keep in mind this was a bogus account, never authenticated between the add of the acct and the compose of the mail.

I can try to close the window again, at which point it offers me the option to continue waiting or force quit.  The former puts me back at the infinite wait for draft save and the latter does discard the message (as expected).

Updated

7 years ago
Duplicate of this bug: 608702

Updated

3 years ago
Blocks: 812827

Comment 10

5 months ago
Thunderbird deletes draft message when unable to send

Problem:
- I write a message, complete with "to" addresses, subject field, email body (text only)
- I save the message, which then appears in the "Draft" folder
- I click on "Send"
- a dialog pops up saying the imap server is not available
- I click "Cancel"
- the message window closes, the message is deleted from the draft folder
- I loose the content of the message.

Expected behaviour: failure to send a message should
- automatically save it to the draft folder if it is not already there
- not delete it from the draft folder if it was already saved.

Thunderbird 52.5.2 (64 bits), Archlinux.
You need to log in before you can comment on or make changes to this bug.