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

Query workbench auto-complete fails if special characters need to be escaped

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 7.0.0
    • 7.0.0
    • UI
    • Running build 3739 of EE on an Ubuntu 20.04 Docker container
    • Untriaged
    • Centos 64-bit
    • 1
    • Unknown

    Description

      When using tab to auto-complete in query workbench, if there are special characters, the entire path is enclosed in back-ticks which causes the query to fail.

      Steps to reproduce: Type the following in query workbench:

      select * from trav[tab]

      From the popup, arrow down to `travel-sample.inventory.airline`

      Enclosing the entire path in back-quotes gives "Keyspace not found in CB datastore"

      You have to move the trailing back-quote to enclose only the bucket name (or each bucket/scope/collection object individually).

       

      Attachments

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

        Activity

          People

            eben Eben Haber
            daniel.james Daniel James (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