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

Benoit Tellier commented on JAMES-3976:
---------------------------------------

Thanks for the report.

I did open https://github.com/apache/james-project/pull/1962 in order to fix 
this.

> "Email/import" handle keywords property incorrect.
> --------------------------------------------------
>
>                 Key: JAMES-3976
>                 URL: https://issues.apache.org/jira/browse/JAMES-3976
>             Project: James Server
>          Issue Type: Bug
>          Components: JMAP
>    Affects Versions: master
>            Reporter: Zhivko Vasilev
>            Assignee: Antoine Duprat
>            Priority: Minor
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> "Email/import" call with keywords empty set is rejected. 
> Per RFC it should be possible, and is default value.
> https://datatracker.ietf.org/doc/html/rfc8621#page-54
> "keywords: "String[Boolean]" (default: {})"
> request
> {"blobId":"uploads-566e7fd0-bc4d-11ee-bad0-d7a45ad8cce5","keywords":{},"mailboxIds":\{"56282800-bc4d-11ee-bad0-d7a45ad8cce5":true}}
> response 
> "Does not allow to update 'Deleted' or 'Recent' flag"
> Actually there is no flags.
> Also error description is better to use JMAP keywords
> https://datatracker.ietf.org/doc/html/rfc8621#section-10.4.1
> not IMAP SELECT command response flags.



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