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/01/12 10:51:01 UTC

[jira] [Commented] (JAMES-3473) Email/get should handle state property

    [ https://issues.apache.org/jira/browse/JAMES-3473?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17263238#comment-17263238 ] 

René Cordier commented on JAMES-3473:
-------------------------------------

https://github.com/linagora/james-project/pull/4196 handles the above task

> Email/get should handle state property
> --------------------------------------
>
>                 Key: JAMES-3473
>                 URL: https://issues.apache.org/jira/browse/JAMES-3473
>             Project: James Server
>          Issue Type: Sub-task
>            Reporter: Lan Khuat
>            Priority: Major
>
> From spec: https://jmap.io/spec-core.html#get (section 5.1)
>  
> {code:java}
> State: A string representing the state on the server for all the data of this type in the account (not just the objects returned in this call). If the data changes, this string MUST change. If the data is unchanged, servers SHOULD return the same state string on subsequent requests.
> {code}
>  
> h1. How
> Whenever a Email/get request is received, we need to fetch the most recent state of Email objects stored in the EmailChangeRepository and return it in the response.
> h1. DoD
> Integration tests to show that Email/get method can handle the `state` property.



--
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