This is an automated email from the ASF dual-hosted git repository.

btellier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git

commit b3e78a28fa23a4780f6a9745e046850c1f5d10aa
Author: Rene Cordier <[email protected]>
AuthorDate: Wed Aug 26 11:25:04 2020 +0700

    JAMES-3359 Fix some issues in MailboxSetMethodContract for the Distributed 
version
---
 .../jmap/rfc8621/contract/MailboxSetMethodContract.scala   | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git 
a/server/protocols/jmap-rfc-8621-integration-tests/jmap-rfc-8621-integration-tests-common/src/main/scala/org/apache/james/jmap/rfc8621/contract/MailboxSetMethodContract.scala
 
b/server/protocols/jmap-rfc-8621-integration-tests/jmap-rfc-8621-integration-tests-common/src/main/scala/org/apache/james/jmap/rfc8621/contract/MailboxSetMethodContract.scala
index 79f9d7f..50434e1 100644
--- 
a/server/protocols/jmap-rfc-8621-integration-tests/jmap-rfc-8621-integration-tests-common/src/main/scala/org/apache/james/jmap/rfc8621/contract/MailboxSetMethodContract.scala
+++ 
b/server/protocols/jmap-rfc-8621-integration-tests/jmap-rfc-8621-integration-tests-common/src/main/scala/org/apache/james/jmap/rfc8621/contract/MailboxSetMethodContract.scala
@@ -4577,7 +4577,7 @@ trait MailboxSetMethodContract {
          |                "accountId": 
"29883977c13473ae7cb7678ef767cbfbaffc8a44a6e463d971d23a65c1dc4af6",
          |                "newState": "000001",
          |                "notUpdated": {
-         |                    "1": {
+         |                    "${mailboxId.serialize}": {
          |                        "type": "invalidArguments",
          |                        "description": "/sharedWith property do not 
exist thus cannot be updated",
          |                        "properties": ["/sharedWith"]
@@ -4637,7 +4637,7 @@ trait MailboxSetMethodContract {
          |                "accountId": 
"29883977c13473ae7cb7678ef767cbfbaffc8a44a6e463d971d23a65c1dc4af6",
          |                "newState": "000001",
          |                "notUpdated": {
-         |                    "1": {
+         |                    "${mailboxId.serialize}": {
          |                        "type": "invalidArguments",
          |                        "description": 
"/sharedWith/${ANDRE.asString()} property do not exist thus cannot be updated",
          |                        "properties": 
["/sharedWith/${ANDRE.asString()}"]
@@ -4697,7 +4697,7 @@ trait MailboxSetMethodContract {
          |                "accountId": 
"29883977c13473ae7cb7678ef767cbfbaffc8a44a6e463d971d23a65c1dc4af6",
          |                "newState": "000001",
          |                "notUpdated": {
-         |                    "1": {
+         |                    "${mailboxId.serialize}": {
          |                        "type": "invalidArguments",
          |                        "description": "/quotas property do not 
exist thus cannot be updated",
          |                        "properties": ["/quotas"]
@@ -6259,7 +6259,7 @@ trait MailboxSetMethodContract {
          |      "accountId": 
"29883977c13473ae7cb7678ef767cbfbaffc8a44a6e463d971d23a65c1dc4af6",
          |      "newState": "000001",
          |      "notUpdated": {
-         |        "1": {
+         |        "${mailboxId.serialize}": {
          |          "type": "invalidArguments",
          |          "description": "Expecting a JSON string or null as an 
argument",
          |          "properties": ["/parentId"]
@@ -6315,7 +6315,7 @@ trait MailboxSetMethodContract {
          |      "accountId": 
"29883977c13473ae7cb7678ef767cbfbaffc8a44a6e463d971d23a65c1dc4af6",
          |      "newState": "000001",
          |      "notUpdated": {
-         |        "1": {
+         |        "${mailboxId.serialize}": {
          |          "type": "invalidArguments",
          |          "description": "ClientId(#C42) was not used in previously 
defined creationIds",
          |          "properties": ["/parentId"]
@@ -6812,9 +6812,9 @@ trait MailboxSetMethodContract {
          |      "accountId": 
"29883977c13473ae7cb7678ef767cbfbaffc8a44a6e463d971d23a65c1dc4af6",
          |      "newState": "000001",
          |      "notUpdated": {
-         |        "1": {
+         |        "${mailboxId.serialize}": {
          |          "type": "invalidArguments",
-         |          "description": "1 parentId property cannot be updated as 
this mailbox has child mailboxes",
+         |          "description": "${mailboxId.serialize} parentId property 
cannot be updated as this mailbox has child mailboxes",
          |          "properties": ["parentId"]
          |        }
          |      }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to