Open Bug 515731 Opened 15 years ago Updated 2 years ago

Opening Drafts folder on IMAP results in an alert regarding a failure

Categories

(Thunderbird :: Folder and Message Lists, defect)

x86
Windows Vista
defect

Tracking

(Not tracked)

People

(Reporter: RytoEX, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.4pre) Gecko/20090910 Shredder/3.0b4pre Every time I attempt to open my Drafts folder on my IMAP account, Thunderbird presents an Alert Dialog containing the following message: > The current command did not succeed. The mail server responded:Can't save a > zero byte message. > > . The tab for the folder then continues to display the "working" throbber instead of the icon, which implies that Thunderbird may be stuck in a loop. Selecting a different folder will function normally, but selecting the Drafts folder again will result in the same behavior described above. Reproducible: Always Steps to Reproduce: 1. Open the 9/10/2009 nightly of Thunderbird 2. Connect to an IMAP account 3. Select the Drafts folder 4. Receive alert Actual Results: Thunderbird produced an alert: > The current command did not succeed. The mail server responded:Can't save a > zero byte message. > > . Expected Results: Thunderbird should not be producing such an alert unless I actually had a zero byte message open that I was attempting to save.
An imap protocol log would be interesting - https://wiki.mozilla.org/MailNews:Logging Opening a drafts folder shouldn't cause us to save a message - I'm not even sure what "save a > zero byte message" means in the imap protocol context.
Oh, apparently my copy/paste and attempt to quote the alert message got eaten. The alert was: The current command did not succeed. The mail server responded:Can't save a zero byte message. .
Attached file IMAP log
IMAP log as requested. I scrubbed out my tags, but left the rest of the log intact. It should cover the IMAP actions for all default folders, and some "idle" activity.
Attachment #399814 - Attachment mime type: application/octet-stream → text/plain
ah, you have an offline playback event in your drafts folder, and it seems to be corrupted - perhaps you could e-mail me privately your Drafts.msf file and I could have a look. After that, you can do a right click, bring up properties on your drafts folder, and click rebuild index. Then you should be able to open the drafts folder w/o getting an error from the server.
The drafts.msf file is in your user profile directory, either under local folders if it's a local drafts folder, or under the imap server directory, if it's an online drafts folder.
David, I've sent you the file as requested. I then rebuilt the index and the error no longer occurs at this time. Let me know if you require any follow-up on my part.
we should have noticed that the offline operation would cause an attempt to append an empty message to the imap server, and removed the offline operation.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Blocks: tb-drafts
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: