Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-42095

[CX] LinkServlet returns error code as CBASxxx instead of 24xxx format

    XMLWordPrintable

Details

    • Untriaged
    • 1
    • Unknown
    • CX Sprint 221, CX Sprint 222, CX Sprint 223

    Description

      Currently, any failure on the LinkServlet is returned with a message with the code such as CBASxxx, this needs to be changed to the 24xxx form.

      Attachments

        Issue Links

          For Gerrit Dashboard: MB-42095
          # Subject Branch Project Status CR V

          Activity

            Build couchbase-server-6.6.2-9599 contains cbas-core commit 4cfc02c with commit message:
            MB-42095: Use mapped error codes when returning errors from LinkServlet

            build-team Couchbase Build Team added a comment - Build couchbase-server-6.6.2-9599 contains cbas-core commit 4cfc02c with commit message: MB-42095 : Use mapped error codes when returning errors from LinkServlet

            Build couchbase-server-7.0.0-3636 contains cbas-core commit 4cfc02c with commit message:
            MB-42095: Use mapped error codes when returning errors from LinkServlet

            build-team Couchbase Build Team added a comment - Build couchbase-server-7.0.0-3636 contains cbas-core commit 4cfc02c with commit message: MB-42095 : Use mapped error codes when returning errors from LinkServlet

            Removed request-dev-verify as the issue is closed as a duplicate.

            till Till Westmann added a comment - Removed request-dev-verify as the issue is closed as a duplicate.
            umang.agrawal Umang added a comment -

            Verified with build 6.6.1-9164

            Old error message -

            Error creating link: CBAS0056: Invalid credentials for link Default.q1
            

            New error message -

            Error creating link: 20002:Invalid credentials for link Default.q2
            

            umang.agrawal Umang added a comment - Verified with build 6.6.1-9164 Old error message - Error creating link: CBAS0056: Invalid credentials for link Default.q1 New error message - Error creating link: 20002 :Invalid credentials for link Default.q2

            Build couchbase-server-6.6.1-9160 contains cbas-core commit 4cfc02c with commit message:
            MB-42095: Use mapped error codes when returning errors from LinkServlet

            build-team Couchbase Build Team added a comment - Build couchbase-server-6.6.1-9160 contains cbas-core commit 4cfc02c with commit message: MB-42095 : Use mapped error codes when returning errors from LinkServlet

            People

              umang.agrawal Umang
              Hussain.Towaileb Hussain Towaileb
              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