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 "René Cordier (Jira)" <se...@james.apache.org> on 2021/08/06 03:20:00 UTC

[jira] [Closed] (JAMES-3624) RFC 8887 (JMAP over WebSocket) Request needs property 'id' (is 'requestId')

     [ https://issues.apache.org/jira/browse/JAMES-3624?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

René Cordier closed JAMES-3624.
-------------------------------
    Fix Version/s: 3.7.0
       Resolution: Fixed

> 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
>            Priority: Major
>             Fix For: 3.7.0
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> 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