Opened 3 years ago

Closed 3 years ago

#1486959 closed Bugs (fixed)

Desapered messages after sort

Reported by: norbul Owned by:
Priority: 1 - Highest Milestone: 0.5-beta
Component: IMAP connection Version: 0.4-stable
Severity: major Keywords:
Cc:

Description

  1. About 90 messages in mailbox
  2. Click on one of message
  3. Click to sort for example subject
  4. All messages desepered and GET No messages found...

When you click in option sort order - none, then all messages are back again

Attachments (1)

nosort.patch (9.5 KB) - added by alec 3 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 3 years ago by alec

  • Milestone set to 0.4.1

Try with svn-trunk version. Enable imap_debug and provide the log.

comment:2 Changed 3 years ago by norbul

[27-Aug-2010 16:02:13 +0200]: S: * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE AUTH=PLAIN] Courier-IMAP ready. Copyright 1998-2008 Double Precision, Inc. See COPYING for distribution information.
[27-Aug-2010 16:02:13 +0200]: C: cp01 CAPABILITY
[27-Aug-2010 16:02:13 +0200]: S: * CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE AUTH=PLAIN
[27-Aug-2010 16:02:13 +0200]: S: cp01 OK CAPABILITY completed
[27-Aug-2010 16:02:13 +0200]: C: a001 LOGIN "USERNAME" "PASSWORD"
[27-Aug-2010 16:02:13 +0200]: S: a001 OK LOGIN Ok.
[27-Aug-2010 16:02:13 +0200]: C: sel1 SELECT "INBOX"
[27-Aug-2010 16:02:13 +0200]: S: * FLAGS (\Draft \Answered \Flagged \Deleted \Seen \Recent)
[27-Aug-2010 16:02:13 +0200]: S: * OK [PERMANENTFLAGS (\* \Draft \Answered \Flagged \Deleted \Seen)] Limited
[27-Aug-2010 16:02:13 +0200]: S: * 90 EXISTS
[27-Aug-2010 16:02:13 +0200]: S: * 0 RECENT
[27-Aug-2010 16:02:13 +0200]: S: * OK [UIDVALIDITY 1258912146] Ok
[27-Aug-2010 16:02:13 +0200]: S: * OK [MYRIGHTS "acdilrsw"] ACL
[27-Aug-2010 16:02:13 +0200]: S: sel1 OK [READ-WRITE] Ok
[27-Aug-2010 16:02:13 +0200]: C: s SORT (SUBJECT) US-ASCII ALL
[27-Aug-2010 16:02:13 +0200]: S: s NO This command is disabled by the system administrator.
[27-Aug-2010 16:02:13 +0200]: C: I LOGOUT

comment:3 Changed 3 years ago by norbul

Reason WAS Disabled SORT optioin on IMAP server.

but if you can change messages in User interfejs from "No messages found ..." to Imap doesnt support SORT command. This can help in the future.

Best Regards
Norbul

Changed 3 years ago by alec

comment:4 Changed 3 years ago by alec

  • Component changed from User Interface to IMAP connection
  • Milestone changed from 0.4.1 to 0.5-beta

Attached patch fixes this issue. If SORT is disabled custom (FETCH/SEARCH) commands will be used.

comment:5 Changed 3 years ago by alec

  • Resolution set to fixed
  • Status changed from new to closed

Applied in [c6097846].

Note: See TracTickets for help on using tickets.