[ https://issues.apache.org/jira/browse/JAMES-3597?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benoit Tellier closed JAMES-3597. --------------------------------- Resolution: Fixed https://github.com/apache/james-project/pull/490 solved this > JMAP should not display message marked as deleted > ------------------------------------------------- > > Key: JAMES-3597 > URL: https://issues.apache.org/jira/browse/JAMES-3597 > Project: James Server > Issue Type: Bug > Components: IMAPServer, JMAP > Affects Versions: 3.6.0 > Reporter: Benoit Tellier > Assignee: Antoine Duprat > Priority: Minor > Fix For: 3.7.0 > > > h3. What happened ? > Loan, from Linagora Vietnam QA team, reported that several copies of the same > draft were present in JMAP, but not in IMAP. This happends when she updated > several time the same draft. Other IMAP clients displayed the draft well. > The two uploaded pictures shows pieces of evidence. > Compacting the folder (right click in thunderbird) do actually removes the > redundant past drafts from the JMAP view. > h3. Explanations > IMAP is based on an expunge model, which means the messages are flagged as > `\Deleted` before actually removing messages. The actual deletion requires an > EXPUNGE call. > Of course, other IMAP clients do not display `\Deleted` emails while I do > think JMAP do! > Right click on Draft folder + compact does actually do the Expunge, and the > extra mails disapear from JMAP. > h3. Proposed fix > So the way to fix it could be to have `Email/query` not returning `\Deleted` > messages. This could be done: > - By customizing the search before backend search > - Maintaining EmailQueryView via the listener to NOT include `\Deleted` > messages. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org