Pedro Martins created IMAP-383:
----------------------------------
Summary: Incorrect list of UIDs in VANISHED (EARLIER) response
Key: IMAP-383
URL: https://issues.apache.org/jira/browse/IMAP-383
Project: James Imap
Issue Type: Bug
Components: Protocol
Affects Versions: 0.2
Reporter: Pedro Martins
Assignee: Eric Charles
There two cases where the VANISHED (EARLIER) response is incorrect:
* when the HIGHESTMODSEQ in the request is 1 and there are messages in the
mailbox, the vanished response is returned with an empty list
* when the HIGHESTMODSEQ is the request is above 2 and below the mailbox's
HIGHESTMODSEQ, the list in the vanished response ranges from 1 to the mailbox's
HIGHESTMODSEQ minus 1
*Steps to reproduce:*
*Step 1:* Connect, login, enable qresync and create test folder
{code:java}
C1 ENABLE QRESYNC
C2 CREATE test/t1
...{code}
*Step 2:* Append 5 messages
*Step 3:* Select folder and take note of the UIDVALIDITY
{code:java}
C11 SELECT "test/t1"
...
* OK [UIDVALIDITY XXXXXXXXXX] UIDs valid
* OK [HIGHESTMODSEQ 5] Highest
...{code}
*Step 4*: Select folder with qresync (use saved UIDVALIDITY and a HIGHESTMODSEQ
1)
{code:java}
C12 SELECT "test/t1" (QRESYNC (XXXXXXXXXX 1))
...
* VANISHED (EARLIER)
...{code}
*Step 5*: Select folder with qresync (use saved UIDVALIDITY and a HIGHESTMODSEQ
lower than the current value)
{code:java}
C13 SELECT "test/t1" (QRESYNC (XXXXXXXXXX 4))
...
* VANISHED (EARLIER) 1:3
...{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]