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

[CE] Client side js error in console while accessing documents page

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 7.1.0
    • 7.1.0
    • UI
    • Enterprise Edition 7.1.0 build 2375
    • Untriaged
    • Centos 64-bit
    • 1
    • Unknown
    • UI 2022-Feb

    Description

      STEPS

      1. Cluster consists of single KV node.
      2. Load travel-sample and beer-sample buckets.
      3. Navigate to documents page and click on retrieve docs for travel-sample._default._default.
      4. Documents didn't load initially but issue went away after multiple page reloads.

      Following JS was logged in console -

      2022-02-25T00:57:42.820-08:00, menelaus_web:102:warning:client-side error report(ns_1@10.112.190.101) - Client-side error-report for user "<ud>Administrator</ud>" on node 'ns_1@10.112.190.101':
      User-Agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.3 Safari/605.1.15
      Got unhandled javascript error:
      name: TypeError;
      message: undefined is not an object (evaluating '_co.rbac.cluster.bucket[_co.dec.options.selected_bucket]');
      stack: @
      checkAndUpdateView@http://10.112.190.101:8091/jsout/chunk-2RMBTYUU.js:10:550066
      callViewAction@http://10.112.190.101:8091/jsout/chunk-2RMBTYUU.js:10:556363
      execEmbeddedViewsAction@http://10.112.190.101:8091/jsout/chunk-2RMBTYUU.js:10:555699
      checkAndUpdateView@http://10.112.190.101:8091/jsout/chunk-2RMBTYUU.js:10:549856
      callViewAction@http://10.112.190.101:8091/jsout/chunk-2RMBTYUU.js:10:556363
      execComponentViewsAction@http://10.112.190.101:8091/jsout/chunk-2RMBTYUU.js:10:555237
      checkAndUpdateView@http://10.112.190.101:8091/jsout/chunk-2RMBTYUU.js:10:550099
      callViewAction@http://10.112.190.101:8091/jsout/chunk-2RMBTYUU.js:10:556363
      execEmbeddedViewsAction@http://10.112.190.101:8091/jsout/chunk-2RMBTYUU.js:10:555699
      checkAndUpdateView@http://10.112.190.101:8091/jsout/chunk-2RMBTYUU.js:10:549856
      callViewAction@http://10.112.190.101:8091/jsout/chunk-2RMBTYUU.js:10:556363
      execComponentViewsAction@http://10.112.190.101:8091/jsout/chunk-2RMBTYUU.js:10:555237
      checkAndUpdateView@http://10.112.190.101:8091/jsout/chunk-2RMBTYUU.js:10:550099
      callViewAction@http://10.112.190.101:8091/jsout/chunk-2RMBTYUU.js:10:556363
      execEmbeddedViewsAction@http://10.112.190.101:8091/jsout/chunk-2RMBTYUU.js:10:555699
      checkAndUpdateView@http://10.112.190.101:8091/jsout/chunk-2RMBTYUU.js:10:549856
      callViewAction@http://10.112.190.101:8091/jsout/chunk-2RMBTYUU.js:10:556363
      execEmbeddedViewsAction@http://10.112.190.101:8091/jsout/chunk-2RMBTYUU.js:10:555699
      checkAndUpdateView@http://10.112.190.101:8091/jsout/chunk-2RMBTYUU.js:10:549856
      callViewAction@http://10.112.190.101:8091/jsout/chunk-2RMBTYUU.js:10:556363
      execComponentViewsAction@http://10.112.190.101:8091/jsout/chunk-2RMBTYUU.js:10:555237
      checkAndUpdateView@http://10.112.190.101:8091/jsout/chunk-2RMBTYUU.js:10:550099
      callViewAction@http://10.112.190.101:8091/jsout/chunk-2RMBTYUU.js:10:556363
      execEmbeddedViewsAction@http://10.112.190.101:8091/jsout/chunk-2RMBTYUU.js:10:555699
      checkAndUpdateView@http://10.112.190.101:8091/jsout/chunk-2RMBTYUU.js:10:549856
      callViewAction@http://10.112.190.101:8091/jsout/chunk-2RMBTYUU.js:10:556363
      execComponentViewsAction@http://10.112.190.101:8091/jsout/chunk-2RMBTYUU.js:10:555237
      checkAndUpdateView@http://10.112.190.101:8091/jsout/chunk-2RMBTYUU.js:10:550099
      callViewAction@http://10.112.190.101:8091/jsout/chunk-2RMBTYUU.js:10:556363
      execComponentViewsAction@http://10.112.190.101:8091/jsout/chunk-2RMBTYUU.js:10:555237
      checkAndUpdateView@http://10.112.190.101:8091/jsout/chunk-2RMBTYUU.js:10:550099
      callWithDebugContext@http://10.112.190.101:8091/jsout/chunk-2RMBTYUU.js:10:575734
      @http://10.112.190.101:8091/jsout/chunk-2RMBTYUU.js:10:390704
      $digest@http://10.112.190.101:8091/jsout/chunk-ZC47CG5T.js:13:228982
      @http://10.112.190.101:8091/jsout/chunk-2RMBTYUU.js:10:454853
      @http://10.112.190.101:8091/jsout/chunk-2RMBTYUU.js:3:10986
      @http://10.112.190.101:8091/jsout/chunk-2RMBTYUU.js:3:9610
      @http://10.112.190.101:8091/jsout/chunk-2RMBTYUU.js:3:8210
      @http://10.112.190.101:8091/jsout/chunk-2RMBTYUU.js:3:7825
      @http://10.112.190.101:8091/jsout/chunk-2RMBTYUU.js:3:17135
      @http://10.112.190.101:8091/jsout/chunk-2RMBTYUU.js:10:453983
      checkStable@http://10.112.190.101:8091/jsout/chunk-2RMBTYUU.js:10:483675
      onLeave@http://10.112.190.101:8091/jsout/chunk-2RMBTYUU.js:10:485079
      onInvokeTask@http://10.112.190.101:8091/jsout/chunk-2RMBTYUU.js:10:484157
      @http://10.112.190.101:8091/ui/libs/zone.js:19:3163
      @http://10.112.190.101:8091/ui/libs/zone.js:19:9213
      r@http://10.112.190.101:8091/ui/libs/zone.js:123:150;
      

      Attachments

        Issue Links

          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 have a fix for this in progress.

            eben Eben Haber added a comment - I have a fix for this in progress.
            eben Eben Haber added a comment -

            This is probably the same issue as MB-51176, though the log information make it hard to be certain.

            eben Eben Haber added a comment - This is probably the same issue as MB-51176 , though the log information make it hard to be certain.
            eben Eben Haber added a comment -

            I just merged a fix for this, the exception should no longer appear.

            eben Eben Haber added a comment - I just merged a fix for this, the exception should no longer appear.
            sujay.gad Sujay Gad added a comment -

            Verified the fix on Enterprise Edition 7.1.0 build 2410.

            sujay.gad Sujay Gad added a comment - Verified the fix on Enterprise Edition 7.1.0 build 2410.

            People

              eben Eben Haber
              sujay.gad Sujay Gad
              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