[#3487] Index problems resulting in the wrong message being deleted
Summary Index problems resulting in the wrong message being deleted
Queue IMP
Queue Version HEAD
Type Bug
State Resolved
Priority 3. High
Owners Horde Developers, slusarz@horde.org
Requester chuck@horde.org
Created 2006-02-15 (5729 days ago)
Updated 2010-04-10 (4214 days ago)
Assigned 2006-03-14 (5702 days ago)
Resolved 2006-03-31 (5685 days ago)
Patch No

Chuck Hagenbuch <chuck@horde.org> 2006-02-15 17:10:33
(and other symptoms). With some of the latest HEAD code changes, we 
seem to have regressed a bit in handling updates to a mailbox. To 

* view the last message in your INBOX (message "A")

* cause another message to be delivered

* delete the message being viewed (message "A")

The result in at least some cases is that the new message has been 
deleted and you are viewing message "A" again.

Possible factors:

* trash folder is off

* it may only happen if the new message is _not_ last in the new sort 
order (for instance, it has an earlier date, or it is sorted into an 
earlier existing thread)

Michael Slusarz <slusarz@horde.org> 2006-03-02 05:33:09
I haven't been able to reproduce this lately.  How about you?

Chuck Hagenbuch <chuck@horde.org> 2006-03-02 15:44:05
I've been tracking the commits and it hadn't seemed fixed so far. 
However, I haven't seen an incorrect message being deleted this 
morning. But I am still taken back to the message that was just 
deleted sometimes.

Chuck Hagenbuch <chuck@horde.org> 2006-03-02 19:50:03
I just reproduced incorrect message deletion again. Steps:

1. Sort by thread.

2. Reply to the 3rd-to-last message in your mailbox, assuming the 
reply will reach you as well (mailing list or cc:).

3. Delete the 3rd-to-last message.

4. Go on to the last message.

5. At this point the reply has been delivered and because of thread 
sorting is now essentially the 3rd-to-last message in the mailbox.

6. Delete what was the last message.

7. Instead of being taken back to the mailbox, I see the last message 
again, and the message that had been 2nd-to-last, which I did not 
delete, is now deleted. The last message (the one that's redisplayed) 
is not deleted.

Michael Slusarz <slusarz@horde.org> 2006-03-14 01:32:34

Chuck Hagenbuch <chuck@horde.org> 2006-03-14 17:09:41
I've updated and haven't seen it yet. I'll keep an eye out. Thanks!

Michael Slusarz <slusarz@horde.org> 2006-03-31 06:41:23
I'm not seeing this anymore.  Closing.

michel@itmatrix.de 2010-04-10 09:34:48
Dear Horde developer,
I just installed Horde's latest stable version (1.2.5) and as I was 
marking some messages for deletion then when I clicked the button 
'Delete' some normal (not marked for delete) messages completely 
disappeared and were really gone. No way to recover them.
The ones left on the screen were the one I had marked for deletion, 
which were now delete-striked-out.
I could not reproduce the fault yet but a friend of mine experienced 
the same thing 2 days ago. I'm being careful now and doing some tests 
on non important mail accounts.
Any sign of anybody else having the same problem.

Regards, Michel