Seke Kazuru created JAMES-4251:
----------------------------------
Summary: JMAP Mailbox/set: a creation id is not resolved when the
referring record comes first
Key: JAMES-4251
URL: https://issues.apache.org/jira/browse/JAMES-4251
Project: James Server
Issue Type: Bug
Components: JMAP
Reporter: Seke Kazuru
Assignee: Antoine Duprat
Hi,
RFC 8620 section 5.3: the server "MUST keep a simple map for the duration of
the request of creation id to record id for each newly created record, so it
can resolve references", and "The final state MUST be valid after the Foo/set
is finished".
{\{Mailbox/set}} with \{{create: {"child": {"name": "pd-child", "parentId":
"#parent"}, "parent": \{"name": "pd-parent"}}}} creates \{{parent}} but rejects
\{{child}}; with \{{parent}} listed first both are created. Expected: both
created whatever the order.
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]