Closed tlle14 closed 3 years ago
Even after ctrl + f5 ?
Is this a new bug? Or can it be reproduced on openpaas.linagora.com?
Hi @chibenwa
Ok. We will investigate.
@Arsnael is email query view activated on preprod? Can we activate it and re-test?
I will check
@chibenwa It is enabled in the jmap conf, and the corresponding listener is declared too. Bug then?
Ah no wait... @tlle14 is testing on dev not preprod (well because last I know openpaas not really up and running on preprod). Let me check and add it on dev
It's present on dev as well... I don't know then
And on openpaas.linagora.com.
I tested with samsung IMAP client, there is only a single email there. Also, ctrl + f5 and the extra mails do not disapear from OpenPaaS.
We likely want to investigate.
I have an idea for this one!
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!
So the way to fix it could be to have Email/query
not returning \Deleted
messages. This could be done:
\Deleted
messages.Bingo, confirmed!
Right click on Draft folder + compact does actually do the Expunge, and the extra mails disapear from JMAP.
@chibenwa @Arsnael The duplicated draft was displaying until I refreshed the page. Do you have any solution to automatically refresh the mailbox?
Can try to check a little but this likely looks like an openpaas issue. I would bet maybe when you click on the little refresh arrow on top it likely just check for new messages, while clicking on the mailbox does a full getMessagesList...
Will try to confirm that :)
The duplicated draft was displaying until I refreshed the page.
Expected. Deletes are not synched by OpenPaaS. If I delete an email in window A, then the email can be seen in window b until I f5.
I close the issue.
Actual Result
Each time updating a draft on Thunderbird, it creates another new draft on OpenPaas. For example, edit 3 times a draft on Thunderbird, OpenPaas make 3 copies of the draft.
Thunderbird:
OpenPaas:
Expected result
The draft should be updated on OpenPaas instead of making a new draft.
Environment
DEV platform Thunderbird, OpenPaas