Roundcube Community Forum

Release Support => Pending Issues => Topic started by: scott on March 24, 2009, 10:56:47 AM

Title: [0.2.1] (bug #1) Cannot delete a message without a Trash folder
Post by: scott on March 24, 2009, 10:56:47 AM
This is clearly a bug.  The documentation in main.inc.php says:

// When a Trash folder is not present and a message is deleted, flag
// the message for deletion rather than deleting it immediately.  Setting this to
// false causes deleted messages to be permanantly removed if there is no Trash folder
$rcmail_config['flag_for_deletion'] = FALSE;

Regardless of how this setting is configured, if I log into an E-mail account that does not have a Trash folder whose preferences have not been previously changed, I can send and receive E-mail, but when I try to delete a message, it briefly disappears but then I get a warning box that says "/!\ Could not move the message" and the message reappears as before.  This bug can always be reproduced.  Set the home directory of a test user with no IMAP folders to be non-writable so that a Trash folder cannot be created, then set the 'preferences' field in the 'users' table to NULL (the default when you create a new account).

Also see related bug #2...

(p.s. permanently is spelled incorrectly above)
Title: [0.2.1] (bug #1) Cannot delete a message without a Trash folder
Post by: scott on March 26, 2009, 02:34:47 PM
^bump

I would post this on trac.roundcube.net but the registration page appears to be broken/missing/moved.
Title: [0.2.1] (bug #1) Cannot delete a message without a Trash folder
Post by: xyanide on March 26, 2009, 08:04:38 PM
Just posted it to the developers mailing list.
Guess it`ll be fixed by tomorrow.


- Xyanide