[imp] Error Deleting Message in IMP 2.3.7-cvs

Chuck Hagenbuch chuck@horde.org
Sun, 27 May 2001 19:00:36 -0400


Quoting rbarnett@neuromics.com:

> I was just using the latest IMP from CVS to read the IMP list.  I deleted
> several messages one by one as I finished reading them, but then I got the
> following error when I deleted one message I was reading:
> 
> Warning: Undefined offset: 22 in /var/www/html/horde/imp/message.php on
> line 250
> 
> The message was deleted and there  are 21 messages left in the mailbox, but 
> I'm not certain whether I was reading the last message or the one before the
> last one.
> 
> After looking at message.php, I thought it might be a bug deleting the last
> message in a mailbox when using a trash folder (as I am).  However, I then
> opened the last message in the mailbox and deleted it.  No error.  I've tried 
> a few other things, but cannot reproduce the problem.

I tried using a trash folder and deleting the last 5-6 messages, and couldn't 
reproduce this problem. Can you give me a set of steps to reproduce this? Are 
you still seeing the problem with the latest CVS code?

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
Black and white and grey, all the shades of truth.