Uploaded image for project: 'Couchbase Java Client'
  1. Couchbase Java Client
  2. JCBC-1728

Collection manager not parsing errors correctly

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.9
    • 3.1.1
    • None
    • 1

    Description

      There are a number of errors that I think have changed their error message response from the server and therefore the errors are not being parsed correctly.

      Here's a list of the current (7.0.0-3435 internal beta) error responses:

      Scope already exists:
      {"errors":{"_":"Scope with name \"2d33a596-8\" already exists"}}

      Collection already exists:
      {"errors":{"_":"Collection with name \"b185d9f9-0\" in scope \"7df92294-3\" already exists"}}

      Scope not found:
      {"errors":{"_":"Unknown error {error,{scope_not_found,\"foobar\"}}"}}

      Collection not found
      {"errors":{"_":"Unknown error {error,{collection_not_found,\"a9e4f276-3\",\"1141f1d0-b\"}}"}}

       

      There are a number of test failures related to this: http://sdk.jenkins.couchbase.com/view/Nightly/job/jvm/job/jvm-clients/job/couchbase-jvm-clients-scipted-build-pipeline/521/testReport/com.couchbase.client.java.manager.collection/CollectionManagerIntegrationTest/

       

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            will.broadbelt Will Broadbelt created issue -
            will.broadbelt Will Broadbelt made changes -
            Field Original Value New Value
            Labels combination_testing 7.0mustpass combination_testing
            will.broadbelt Will Broadbelt made changes -
            Labels 7.0mustpass combination_testing affects-cc-testing combination_testing
            will.broadbelt Will Broadbelt made changes -
            Link This issue is cloned by JCBC-1738 [ JCBC-1738 ]
            daschl Michael Nitschinger made changes -
            Status New [ 10003 ] Open [ 1 ]
            daschl Michael Nitschinger made changes -
            Fix Version/s 3.1.1 [ 17269 ]
            daschl Michael Nitschinger made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            daschl Michael Nitschinger made changes -
            Resolution Fixed [ 1 ]
            Status In Progress [ 3 ] Resolved [ 5 ]
            will.broadbelt Will Broadbelt made changes -
            Labels affects-cc-testing combination_testing combination_testing

            People

              daschl Michael Nitschinger
              will.broadbelt Will Broadbelt
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty