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

Incorrect options shown in Query Workbench Import dialog

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.6.0
    • Fix Version/s: 6.6.0
    • Component/s: UI
    • Triage:
      Untriaged
    • Story Points:
      1
    • Is this a Regression?:
      Unknown

      Description

      The import dialog in the query workbench is supposed to show two options: 1) importing a N1QL query from a file, and 2) importing an entire query history from a file. (see screenshot)

      For some mysterious reason involving GIT, the mad-hatter branch includes two extra options involving file imports. These options don't actually work, but having them there is misleading.

      The fix is a relatively simple change removing two items from a list in javascript:

      dialogScope.file_options = [
        {kind: "txt", label:  "Query - load the contents of a text file into the query editor."},    // 0
        {kind: "json", label: "Query History - load a file into the end of the current query history."}, // 1
        {kind: "csv", label: "CSV File - import a data file in comma-separated format into a bucket."}, // 2
        {kind: "tsv", label: "TSV File - import a data file in tab-separated format into a bucket."}, // 3
      ];
       

        Attachments

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

          Activity

          eben Eben Haber created issue -
          raju Raju Suravarjjala made changes -
          Field Original Value New Value
          Link This issue blocks MB-38724 [ MB-38724 ]
          till Till Westmann made changes -
          Labels approved-for-6.6.0
          eben Eben Haber made changes -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          wayne Wayne Siu made changes -
          Assignee Eben Haber [ eben ] Arunkumar Senthilnathan [ arunkumar ]
          arunkumar Arunkumar Senthilnathan made changes -
          arunkumar Arunkumar Senthilnathan made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            Assignee:
            arunkumar Arunkumar Senthilnathan
            Reporter:
            eben Eben Haber
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes

                  PagerDuty