Daniel Gultsch created JAMES-3624:
-------------------------------------
Summary: RFC 8887 (JMAP over WebSocket) Request needs property
'id' (is 'requestId')
Key: JAMES-3624
URL: https://issues.apache.org/jira/browse/JAMES-3624
Project: James Server
Issue Type: Bug
Reporter: Daniel Gultsch
The WebSocket message 'Request' has a property called 'id' according to the
spec. (Responses will mirror that property in a property called 'requestId'.)
James however calls this 'requestId'
The unit test here:
[https://github.com/apache/james-project/blob/master/server/protocols/jmap-rfc-8621-integration-tests/jmap-rfc-8621-integration-tests-common/src/main/scala/org/apache/james/jmap/rfc8621/contract/WebSocketContract.scala#L77]
needs to read:
{{"id": "req-36",}}
{{(I messed this up in my JMAP library as well. The fix is here:
[https://github.com/iNPUTmice/jmap/commit/58fa163b8d55e3a6e5be4cf3bbfaca4700963b93]
)}}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]