Closed chibenwa closed 6 months ago
Race condition with the "move from Outbox to sent" ?
Also try to see the JSON done by the mobile application
It comes from "incorrect" clientId in JSON request (client side). How to reproduce: https://github.com/apache/james-project/commit/a46778c8dec184848a4043f9a286cd6b2815ee90
Document related: https://jmap.io/spec-mail.html 7.5.1 Example
Wrong clientId of onSuccessUpdateEmail
Did you open a twake mail frontend issue @vttranlina ?
Did you succeed to reproduce on the front?
Did you open a twake mail frontend issue @vttranlina ?
Did you succeed to reproduce on the front?
No, I tried to front, but can not reproduce
One more case can reproduce:
Try to add onSuccessUpdateEmail
on the failed EmailSubmission/set
creation request.
https://github.com/apache/james-project/commit/52de246c5fd272c798be31ecaafa86baafdb3ece
In this case => we should filter "success created" before doing onSuccessUpdateEmail
, let me create a PR for that
updated: The jmap document does not explain details for this case, it just write:
onSuccessUpdateEmail: Id[PatchObject]|null A map of EmailSubmission id to an object containing properties to update on the Email object referenced by the EmailSubmission if the create/update/destroy succeeds.
we should filter "success created" before doing onSuccessUpdateEmail , let me create a PR for that
Note: Checked MDNSend method (that also has onSuccessUpdateEmail
). We don't get the same issue
TODO try to understand / reproduce