Closed Bug 274800 Opened 20 years ago Closed 20 years ago

saving to imap stored drafts folder while offline does not work

Categories

(Thunderbird :: General, defect)

PowerPC
macOS
defect
Not set
major

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jplautz, Assigned: Bienvenu)

Details

Attachments

(1 file)

Version: Thunderbird 1.0 (20041206) Reproduceability: Always If you save a message to a drafts folder stored on IMAP while in offline mode, your message becomes "stuck in limbo" and cannot be accessed. Attempts to access the message after going online results in an error dialogue: "The current command did not succeed. The mail server responded: Error in IMAP command received by server.." Steps to reproduce: 1) Make sure that your drafts folder is set to an IMAP location (the default). 2) Take Thunderbird offline (I used the lightbulb icon in the lower left if it makes a difference). 3) Compose a new message. 4) Click the "save" button (defaults to saving to the drafts folder) 5) Click on the message in the drafts folder (you should get a message saying something about the body not being available because it wasn't downloaded for offline use). 6) Go online. 7) Re-click on the message, the error shown above occurs. The message never becomes available, and you are unable to delete, move, view, or otherwise manipulate the message. Changing the drafts folder to be in "Local Folders/Drafts" works around the problem and all mail is accessable as expected so I don't think this is just a save to drafts problem. Feel free to contact me if you need more information/tests/screenshots.
GRRRRR!!!!! I experience even worse behaviour: Mozilla crashes if I have offline saved messages in draft folder and I later go online! I've used Messenger for years and offline NEVER worked decently. Yeah, I know I'll make someone angry with this message but I've just lost a VERY important message I employed DAYS to write. Yeah, I know it's free (either like beer and like freedom) software and you all are the armade of heros making the world better with free software religion. But there are things in Mozilla that are really bad and should absolutely be fixed or removed from stable releases. A frustrated, yet free SW supporter, user.
Marco, you can probably find your message in the offline store for your imap drafts folder, in the imapmail/<server> subdirectory of your user profile directory, in a file called Drafts.
Confirming, nominating for 1.1. I'll try to analyze this a bit on the train today.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: blocking-aviary1.1?
Attached patch proposed fixSplinter Review
The problem that I was able to reproduce was that clicking on the newly saved offline draft did some weird things like creating ghost headers, etc. The immediate cause of that was some code I put in to make sure offline stores weren't corrupted, i.e., that an offline msg started with "From ". But, offline drafts start with "FCC ". So I had to extend that check to allow for the offlien draft case. I explored making offline drafts start with "From " as well, but that's a much bigger change.
Assignee: mscott → bienvenu
Status: NEW → ASSIGNED
Attachment #176296 - Flags: superreview?(mscott)
Attachment #176296 - Flags: superreview?(mscott) → superreview+
fix checked in - please let me know if this fixes it for you. I'm not sure if that's what you were seeing or not...
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Flags: blocking-aviary1.1?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: