Opened 3 years ago

Closed 3 years ago

#1486992 closed Bugs (duplicate)

Messages not displayed in Mailbox with RC0.4

Reported by: bumpus Owned by:
Priority: 5 Milestone: 0.4.1
Component: Core functionality Version: 0.4-stable
Severity: normal Keywords:
Cc: bumpus

Description

Possibly related to #1486761. When I upgraded from 0.3.1 to 0.4 none of I received a 'No Messages Found in this Mailbox' message even for mailboxes that contained messages. The message count in the lower left corner would be correct (ex. "Messages 1 to 3 of 3"), but no messages were displayed in the message list.

I attempted setting up a new database to rule out problems with the IMAP server and found this to be successful. Eventually, I isolated the problem to the preferences string in the users table of the database. At this point I am not sure what about my preferences string caused the problem, but I do know that clearing it out and using the GUI to reset my preferences eliminated the problem.

The preferences string I had in my database prior to resetting it was:
a:20:{s:8:"timezone";s:4:"auto";s:10:"dst_active";b:0;s:8:"pagesize";i:50;s:10:"prettydate";b:0;s:12:"preview_pane";s:1:"1";s:17:"collapsed_folders";s:19:"&Sent&&SPAM&&Trash&";s:16:"message_sort_col";s:4:"date";s:18:"message_sort_order";s:4:"DESC";s:10:"index_sort";b:0;s:20:"focus_on_new_message";b:0;s:12:"mdn_requests";i:0;s:10:"keep_alive";i:60;s:17:"check_all_folders";b:1;s:11:"prefer_html";b:1;s:10:"htmleditor";b:0;s:17:"read_when_deleted";b:1;s:17:"flag_for_deletion";b:0;s:12:"logout_purge";b:0;s:14:"logout_expunge";b:0;s:14:"draft_autosave";i:300;}

Attachments (1)

imap_debug.txt (60.5 KB) - added by bumpus 3 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 3 years ago by alec

  • Component changed from Addressbook to Core functionality

But how this string looks now? What IMAP server?

comment:2 Changed 3 years ago by bumpus

I just set the string back to via commandline in mysql. After logging in again and setting things to reasonably sane I've got ' a:2:{s:17:"collapsed_folders";s:30:"null&Sent&&SPAM&&Trash&&saved&";s:12:"preview_pane";s:1:"1";}'

The IMAP server is courier-imap 4.5.

comment:3 Changed 3 years ago by bumpus

  • Cc bumpus added

comment:4 Changed 3 years ago by alec

  • Milestone changed from later to 0.4.1

I don't see nothing wrong in this (buggy) settings string. Could you test again with it and enabled imap_debug?

comment:5 Changed 3 years ago by bumpus

Ok. Set the preferences string to what I reported above. Below is output from console debug when I click the roundcube logo in the top left:

HTTP GET: ./?_task=mail&_action=list&_mbox=INBOX&_refresh=1&_remote=1
--------------------------------------
HTTP GET: ./?_task=mail&_action=getunread&_remote=1
--------------------------------------
this.set_pagetitle("Roundcube Webmail :: Inbox");
this.set_unread_count("INBOX",0,true);
this.set_rowcount("Messages 1 to 1 of 1");
this.set_mailboxname("Inbox");
this.set_message_coltypes(["threads","subject","from","date","size","flag","attachment"],null);
this.display_message("No messages found in this mailbox","notice");
--------------------------------------
this.set_unread_count("Trash",2,false);
this.set_unread_count("postmaster",33,false);

The imap_debug log that goes with it is attached.

Changed 3 years ago by bumpus

comment:6 Changed 3 years ago by alec

  • Resolution set to duplicate
  • Status changed from new to closed
[26-Sep-2010 19:48:15 -0500]: C: s SORT (FROM) US-ASCII ALL
[26-Sep-2010 19:48:15 -0500]: S: s NO This command is disabled by the system administrator.

Duplicate of #1486959

Note: See TracTickets for help on using tickets.