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

    • Triage:
      Untriaged
    • Story Points:
      1
    • Is this a Regression?:
      Unknown
    • Sprint:
      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

            Hide
            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

            Show
            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
            Hide
            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
            

            Show
            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
            Hide
            till Till Westmann added a comment -

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

            Show
            till Till Westmann added a comment - Removed request-dev-verify as the issue is closed as a duplicate.
            Hide
            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

            Show
            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
            Hide
            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

            Show
            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

              People

              Assignee:
              umang.agrawal Umang
              Reporter:
              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