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

LinkServlet returns error code as ASXxxx instead of 2xxxx format

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Cheshire-Cat
    • Fix Version/s: 7.0.0
    • Component/s: analytics
    • Environment:
      Couchbase server build 7.0.0-3612
    • Triage:
      Untriaged
    • Operating System:
      Centos 64-bit
    • Story Points:
      1
    • Is this a Regression?:
      No
    • Sprint:
      CX Sprint 223, CX Sprint 224

      Description

      Steps to reproduce - 

      1. Create a dataverse with multipart name.

        Create dataverse x.y;
        

      2. Try creating remote or external link using REST API with the dataverse parameter set as above created dataverse name.

        127.0.0.1 - - [03/Nov/2020:11:16:44 +0000] "POST /analytics/link?dataverse=x.y&name=cblink&type=s3&accessKeyId=AKIAXQQ2DIGA5GT5HHHQ&secretAccessKey=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&region=us-west-1 HTTP/1.1" 400 47 - "PostmanRuntime/7.26.5"
        

      Error is raised.

      ASX1063: Cannot find dataverse with name `x.y`
      

      Analytics_info.log

      ==> analytics_info.log <==
      2020-11-03T11:16:44.685+00:00 INFO CBAS.server.AbstractServlet [HttpExecutor(port:9111)-2] sendError: status=400 Bad Request, message=ASX1063: Cannot find dataverse with name `x.y`
      

       

        Attachments

          Issue Links

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

            Activity

            Hide
            Hussain.Towaileb Hussain Towaileb added a comment -
            Show
            Hussain.Towaileb Hussain Towaileb added a comment - Fixed by merge-commit from 6.6.1 to Cheshire-cat: https://github.com/couchbase/cbas-core/commit/c5586a1194a4822a94e3d214c5e1a48e566382e3
            Hide
            umang.agrawal Umang added a comment -

            Verified with build 7.0.0-4754

            Show
            umang.agrawal Umang added a comment - Verified with build 7.0.0-4754

              People

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