Seke Kazuru created JAMES-4250:
----------------------------------
Summary: JMAP Email/set can leave an email in no mailbox, which
destroys it
Key: JAMES-4250
URL: https://issues.apache.org/jira/browse/JAMES-4250
Project: James Server
Issue Type: Bug
Components: JMAP
Reporter: Seke Kazuru
Assignee: Antoine Duprat
Hi,
RFC 8621 section 4.1.1: "An Email in the mail store MUST belong to one or more
Mailboxes at all times (until it is destroyed)."
{\{Email/set}} update \{{{"mailboxIds": {}}}} on an existing email returns
\{{updated}}, and the email is gone (\{{Email/get}} then lists it in
\{{notFound}}). Expected: the update rejected with \{{invalidProperties}} and
the email unchanged.
James 3.9.1, memory image (\{{apache/james:memory-3.9.1}}), default
configuration, one user. JMAP requests POSTed to \{{/jmap}} with core and mail
capabilities.
Thanks.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]