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

Doc editor: can't enter N1QL query when doc id is entered but hidden

    XMLWordPrintable

    Details

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

      Description

      In the doc editor:
      -Enter anything for a document ID
      -Switch to doc range
      -See that there is no way to enter a N1QL query, but also no indication to the user why because the doc id field is hidden

        Attachments

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

          Activity

          perry Perry Krug created issue -
          Hide
          perry Perry Krug added a comment -

          One suggestion here: Don't ask the user to switch between a single doc ID or a range.

          We could simply allow them to enter anything in the "start with" field and then a) always show a range with the specific doc ID listed first (do a doc ID lookup followed by the range) or b) have a radio button/checkbox that enables the "ending..." box and therefore triggers the range lookup.

          This would avoid the user not seeing the range vs doc ID boxes.

          Show
          perry Perry Krug added a comment - One suggestion here: Don't ask the user to switch between a single doc ID or a range. We could simply allow them to enter anything in the "start with" field and then a) always show a range with the specific doc ID listed first (do a doc ID lookup followed by the range) or b) have a radio button/checkbox that enables the "ending..." box and therefore triggers the range lookup. This would avoid the user not seeing the range vs doc ID boxes.
          eben Eben Haber made changes -
          Field Original Value New Value
          Assignee Rob Ashcom [ rob.ashcom ] Eben Haber [ eben ]
          Hide
          eben Eben Haber added a comment -

          This is fixed in 7.0, should we fix it in 6.6.x?

          Show
          eben Eben Haber added a comment - This is fixed in 7.0, should we fix it in 6.6.x?
          Hide
          perry Perry Krug added a comment -

          If it's a simple backport, I would certainly appreciate seeing it in the 6.6.x line

          Show
          perry Perry Krug added a comment - If it's a simple backport, I would certainly appreciate seeing it in the 6.6.x line
          raju Raju Suravarjjala made changes -
          Fix Version/s 6.6.1 [ 17002 ]
          eben Eben Haber made changes -
          Fix Version/s 6.6.1 [ 17002 ]
          Fix Version/s 6.6.2 [ 17103 ]
          eben Eben Haber made changes -
          Fix Version/s 6.6.2 [ 17103 ]
          Fix Version/s 6.6.1 [ 17002 ]
          lynn.straus Lynn Straus made changes -
          Link This issue blocks MB-40528 [ MB-40528 ]
          lynn.straus Lynn Straus made changes -
          Labels approved-for-6.6.1
          Hide
          eben Eben Haber added a comment -

          I just back ported the fix from CC to 6.6.1.

          Show
          eben Eben Haber added a comment - I just back ported the fix from CC to 6.6.1.
          eben Eben Haber made changes -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          Hide
          build-team Couchbase Build Team added a comment -

          Build couchbase-server-6.6.1-9150 contains query-ui commit 8c54e82 with commit message:
          MB-41993 - doc editor, don't disable WHERE field when doc id hidden

          Show
          build-team Couchbase Build Team added a comment - Build couchbase-server-6.6.1-9150 contains query-ui commit 8c54e82 with commit message: MB-41993 - doc editor, don't disable WHERE field when doc id hidden
          Hide
          arunkumar Arunkumar Senthilnathan added a comment -

          Verified in 6.6.1-9151

          Show
          arunkumar Arunkumar Senthilnathan added a comment - Verified in 6.6.1-9151
          arunkumar Arunkumar Senthilnathan made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            Assignee:
            eben Eben Haber
            Reporter:
            perry Perry Krug
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes

                  PagerDuty