Seke Kazuru created JAMES-4249:
----------------------------------
Summary: JMAP: invalidArguments where an invalidProperties
SetError is required
Key: JAMES-4249
URL: https://issues.apache.org/jira/browse/JAMES-4249
Project: James Server
Issue Type: Bug
Components: JMAP
Reporter: Seke Kazuru
Assignee: Antoine Duprat
Hi,
RFC 8621 section 4.8: "If the \{{blobId}}, \{{mailboxIds}}, or \{{keywords}}
properties are invalid (e.g., missing, wrong type, id not found), the server
MUST reject the import with an \{{invalidProperties}} SetError." RFC 8620
section 5.3 (update of a server-set property): "the update MUST be rejected
with an \{{invalidProperties}} SetError."
* \{{Email/import}} with \{{mailboxIds: {"pdNoSuchMailbox": true}}} fails the
whole call with \{{invalidArguments}} instead of a \{{notCreated}} entry of
type \{{invalidProperties}}.
* \{{Mailbox/set}} update of \{{totalEmails}} returns \{{notUpdated}} of type
\{{invalidArguments}} instead of \{{invalidProperties}}.
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]