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

[N1QL RBAC] Different error message and error code for <<update system:user_info>>

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • bug-backlog
    • 5.0.0
    • query
    • 5.0.0-2873
    • Untriaged
    • No

    Description

      Query issued:
      update system:user_info use keys "id" set name="test"

      Role created:
      [

      {"id": "johnDoe", "name": "Jonathan Downing", "password": "password1", "roles": "cluster_admin"}

      ]

      Error message:

      *** CBQError: CBQError: host 172.23.98.114: ERROR:{u'status': u'errors', u'errors': [{u'msg': u'Unable to find a value for key id.', u'code': 5200}], u'results': [], u'metrics': {u'elapsedTime': u'5.249337ms', u'executionTime': u'5.178471ms', u'resultSize': 0, u'resultCount': 0, u'errorCount': 1}, u'requestID': u'e806a5a1-a114-4bd8-b6dd-9748b7a42261', u'signature': None}
      

      This is a different error message and error code than when we issue an update query on any other system catalog table.

      Attachments

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

        Activity

          People

            korrigan.clark Korrigan Clark (Inactive)
            Prerna.Manaktala Prerna Manaktala (Inactive)
            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