Zhivko Vasilev created JAMES-3976:
-------------------------------------

             Summary: "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


"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