[imp] IMP Emtpy Trash bug?
Michael M Slusarz
slusarz at bigworm.colorado.edu
Thu Jul 10 13:44:06 PDT 2003
Quoting AJ <aj at mindcrash.com>:
| Hello,
| I am using the latest CVS snapshot of both horde and imp and I get a
| strange little bug when I try to empty the trash.
| If I read a message and hit the delete link in the message, then try to
| empty the trash I get an error that says:
| There was an error viewing the requested message.
|
| I get that under the message that the trash was emptied.
|
| Anyone know what could cause this?
Yes. 'Empty Trash' was using the current self URL of the page where you
clicked Empty Trash from as the page to go to after the Trash has been
emptied. When deleting a message from the message screen , all sorts of
parameters get added to the URL, including the index of the old message,
and this is the page getting reloaded when Empty Trash is clicked. Since
the index present in the URL no longer exists (it has been deleted after
all), thus the 'error viewing the requested message'.
To avoid these problems (it would take a pretty ugly hack to make sure that
the current page is always reloaded) I have changed the code to simply
redirect to the folders page after emptying.
michael
______________________________________________
Michael Slusarz [slusarz at bigworm.colorado.edu]
The University of Colorado at Boulder
More information about the imp
mailing list