Closed Bug 278401 Opened 20 years ago Closed 17 years ago

offline delete sometimes fails

Categories

(Thunderbird :: Mail Window Front End, defect)

PowerPC
All
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 235011

People

(Reporter: jud, Assigned: mscott)

Details

I deleted a bunch of email from my inbox when offline (IMAP). When I went
"online" they all came back. Expected behavior is that the deleted mail is
actually deleted when going back online.

perhaps related to:
https://bugzilla.mozilla.org/show_bug.cgi?id=277337
https://bugzilla.mozilla.org/show_bug.cgi?id=235011
I can confirm this problem under thunderbird 1.0 under Fedora Core 3 (downloaded
from mozilla.org)

This is pretty serious. I am continually running in offline mode, reading and
deleting mail, and then going online and finding all my hard work undo :-(

If it matters, this is IMAP over SSL
how about trying 1.5 beta 2? I've fixed several bugs in that area.

http://www.mozilla.org/products/thunderbird/releases/1.5beta2.html
just downloaded and installed b2. I'll post my findings after a few days of use.
thanks.
This still happens on Thunderbird 1.5 on Windows XP.
yea, I just saw this again last week. tbird v. 1.5 20051201, OSX.
Jud, does it usually work and occassionally fail? Or does it always fail? And if the former, any idea what's different?
66% works, 33% fails.

I'm always trying to understand what happened when it doesn't work. Unfortunately, I can't find the pattern.

the following things *might* be factors:
- deleting 20+ messages.
- TBird *not* being in offline mode when it starts.
- *not* shutting TBird down before a system sleep or shutdown.
- moving across multiple TBird mail accounts while offline.

Again, unfortunately, I can't say any of those, or any combination of them, are the issue for certain :-/. It has more of a random component to reproducibility than not :-/.

hmmm, maybe it happens when I change my local system's timezone (clock) while TBird is running. or maybe when I go offline (sync msgs) in TZ A, delete msgs while in TZ A, quit TBird (or not), change to TZ B, then go online in the new TZ. I'm starting to think it might be in there somewhere... the TZ changing mucking with sync times, or msgs timestamps or something. about 10% of the time, I'd say the entire local msg and folder storage gets nuked, and the whole thing has to get rebuilt when I go back online.
Does it often happen that we have to download all headers from the imap server again, even though we should have most if not all of the headers before? That would be a symptom of the IMAP server rolling uid validity, which requires us to throw away all offline changes - my recollection is that the AOL imap server was innordinately fond of doing that...that would also explain having to rebuild the offline store.

I can't think of any timestamp/TZ issues in the offline code - if there's a correlation there, I suspect it's something else that happens when you change time zones.
Summary: offline delete doesn't work → offline delete sometimes fails
the header rebuild problem seems independent; 10% of the time or so. the usual case is that the deleted msgs come back after connecting again, but the headers/folders don't rebuild.
Can you reproduce this bug via https://bugzilla.mozilla.org/show_bug.cgi?id=235011#c7 ?
QA Contact: front-end
(In reply to comment #10)
> Can you reproduce this bug via
> https://bugzilla.mozilla.org/show_bug.cgi?id=235011#c7 ?

putting this bug up for duping to bug 235011 unless we get someone that can provide feedback that this is not the case.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.