You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Daniel Gultsch (Jira)" <se...@james.apache.org> on 2021/08/04 08:36:00 UTC
[jira] [Created] (JAMES-3624) RFC 8887 (JMAP over WebSocket)
Request needs property 'id' (is 'requestId')
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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org