Author Topic: [0.2.1] (bug #1) Cannot delete a message without a Trash folder  (Read 3204 times)

Offline scott

  • Newbie
  • *
  • Posts: 7
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)

Offline scott

  • Newbie
  • *
  • Posts: 7
[0.2.1] (bug #1) Cannot delete a message without a Trash folder
« Reply #1 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.

Offline xyanide

  • Jr. Member
  • **
  • Posts: 41
[0.2.1] (bug #1) Cannot delete a message without a Trash folder
« Reply #2 on: March 26, 2009, 08:04:38 PM »
Just posted it to the developers mailing list.
Guess it`ll be fixed by tomorrow.


- Xyanide