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

Benoit Tellier commented on JAMES-3979:
---------------------------------------

James distributed manages the JMAP state in an asynchronous fashion, which 
means that by the time Email/import is finished the state might not be updated 
yet.

This is because JMAP state management was handled as a plugin and not as a core 
feature.

However, using some notifications you should eventually get the update as a 
StateChange over eg event source.



> "Email/import" doesn't change the state
> ---------------------------------------
>
>                 Key: JAMES-3979
>                 URL: https://issues.apache.org/jira/browse/JAMES-3979
>             Project: James Server
>          Issue Type: Bug
>          Components: JMAP
>            Reporter: Zhivko Vasilev
>            Assignee: Antoine Duprat
>            Priority: Minor
>         Attachments: james_email_import_response.json
>
>
> I have created an automated test in which two app instances run on one 
> account. In this test, app1 imports emails into different folders or changes 
> email properties (read/unread/etc.), and the other app syncs and checks that 
> they are okay.
> However, it seems that "Email/import" doesn't change the state. As a result, 
> the sync from the other app instance cannot detect the changes.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org

Reply via email to