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

New Doc Editor not showing anything with certain data

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.5.0
    • 6.5.0
    • UI
    • Triaged
    • Yes

    Description

      The new document editor fails in two conditions:

      1) fields that contain single quotes in their name

      2) arrays inside other arrays

      An exception is thrown in the javascript console, and 'retrieve documents' never finishes, and no data is shown. The fix is straightforward, only a few lines.

      Attachments

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

        Activity

          eben Eben Haber added a comment -

          I just merged a fix so that quotes in key names are escaped.

          eben Eben Haber added a comment - I just merged a fix so that quotes in key names are escaped.

          Build couchbase-server-6.5.0-1557 contains query-ui commit 9ed5e0e with commit message:
          MB-30668 - doc editor issue with keys with single quotes

          build-team Couchbase Build Team added a comment - Build couchbase-server-6.5.0-1557 contains query-ui commit 9ed5e0e with commit message: MB-30668 - doc editor issue with keys with single quotes

          Build couchbase-server-6.5.0-1557 contains query-ui commit 9ed5e0e with commit message:
          MB-30668 - doc editor issue with keys with single quotes

          build-team Couchbase Build Team added a comment - Build couchbase-server-6.5.0-1557 contains query-ui commit 9ed5e0e with commit message: MB-30668 - doc editor issue with keys with single quotes
          lynn.straus Lynn Straus added a comment - - edited

          removing 5.x candidate as this doesn't qualify for 5.5.4.  Replacing with 6.x candidate so that it can be considered for a 6.0.x release.

          lynn.straus Lynn Straus added a comment - - edited removing 5.x candidate as this doesn't qualify for 5.5.4.  Replacing with 6.x candidate so that it can be considered for a 6.0.x release.
          thuan Thuan Nguyen added a comment -

          Verified on build 6.5.0-4908

          thuan Thuan Nguyen added a comment - Verified on build 6.5.0-4908

          People

            thuan Thuan Nguyen
            eben Eben Haber
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              PagerDuty