[imp] IMP Emtpy Trash bug?
AJ
aj at mindcrash.com
Thu Jul 10 15:33:22 PDT 2003
Michael,
Thanks for the explanation, it makes sense.
I set the option in prefs.php to go to the inbox after deleting a file, but
that doesn't seem to help at all.
Where would I tell imp to go to the folders list after emptying?
Is that a custom piece of code you wrote?
Thanks.
AJ
At 02:44 PM 7/10/2003 -0600, you wrote:
>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.
More information about the imp
mailing list