Details
-
Sub-task
-
Status: Open
-
Major
-
Resolution: Unresolved
-
master
-
None
-
None
Description
An attempt to create a new mailbox with the role 'archive' fails with "Some server-set properties were specified".
Role is not marked as a server-set property in the JMAP spec
{ "methodCalls": [ [ "Mailbox/set", { "accountId": "cf2e474f942d8ea3192028d2e37d5b08b3ddd36fb986d2ad6a19d66277a981c4", "create": { "mb-archive": { "name": "Archive", "role": "archive" } }, "ifInState": "de6ce5c0-931f-11eb-b57c-1b93c9e59cb7" }, "0" ] ], "using": [ "urn:ietf:params:jmap:core", "urn:ietf:params:jmap:mail" ] }
Response is:
{ "sessionState": "2c9f1b12-b35a-43e6-9af2-0106fb53a943", "methodResponses": [ [ "Mailbox/set", { "accountId": "cf2e474f942d8ea3192028d2e37d5b08b3ddd36fb986d2ad6a19d66277a981c4", "oldState": "de6ce5c0-931f-11eb-b57c-1b93c9e59cb7", "newState": "de6ce5c0-931f-11eb-b57c-1b93c9e59cb7", "notCreated": { "mb-archive": { "type": "invalidArguments", "description": "Some server-set properties were specified", "properties": [ "role" ] } } }, "0" ] }