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

UI : Error in diag logs upon logging to the UI "message: [$parse:syntax] Syntax Error: Token '!' is an unexpected token at column 76 of the expression"

    XMLWordPrintable

Details

    • Untriaged
    • 1
    • Yes
    • CX Sprint 249

    Description

      Build : 7.0.0-5274 (RC4)

      Upon logging to the UI of any cluster running 7.0.0-5274, the following error can be seen in the diag logs.

      This is a regression caused by http://review.couchbase.org/c/cbas-ui/+/155039.

      Client-side error-report for user "Administrator" on node 'ns_1@172.23.97.74':
      User-Agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36
      Got unhandled javascript error:
      name: Error;
      message: [$parse:syntax] Syntax Error: Token '!' is an unexpected token at column 76 of the expression [rbac.cluster.collection['.:.:.'].analytics.select || rbac.cluster.analytics!manage] starting at [!manage].
      https://errors.angularjs.org/1.8.0/$parse/syntax?p0=!&p1=is%20an%20unexpected%20token&p2=76&p3=rbac.cluster.collection%5B'.%3A.%3A.'%5D.analytics.select%20%7C%7C%20rbac.cluster.analytics!manage&p4=!manage;
      stack: Error: [$parse:syntax] Syntax Error: Token '!' is an unexpected token at column 76 of the expression [rbac.cluster.collection['.:.:.'].analytics.select || rbac.cluster.analytics!manage] starting at [!manage].
      https://errors.angularjs.org/1.8.0/$parse/syntax?p0=!&p1=is%20an%20unexpected%20token&p2=76&p3=rbac.cluster.collection%5B'.%3A.%3A.'%5D.analytics.select%20%7C%7C%20rbac.cluster.analytics!manage&p4=!manage
      at http://172.23.97.74:8091/ui/web_modules/common/index-729b989c.js:6:824
      at xr.throwError (http://172.23.97.74:8091/ui/web_modules/common/index-729b989c.js:6:88212)
      at xr.ast (http://172.23.97.74:8091/ui/web_modules/common/index-729b989c.js:6:83915)
      at Vr.getAst (http://172.23.97.74:8091/ui/web_modules/common/index-729b989c.js:6:118164)
      at Vr.parse (http://172.23.97.74:8091/ui/web_modules/common/index-729b989c.js:6:117707)
      at a (http://172.23.97.74:8091/ui/web_modules/common/index-729b989c.js:6:92202)
      at c.$watch (http://172.23.97.74:8091/ui/web_modules/common/index-729b989c.js:6:98539)
      at Object.link (http://172.23.97.74:8091/ui/web_modules/common/index-729b989c.js:6:170077)
      at http://172.23.97.74:8091/ui/web_modules/common/index-729b989c.js:6:7384
      at Rt (http://172.23.97.74:8091/ui/web_modules/common/index-729b989c.js:6:56885);

      Attachments

        For Gerrit Dashboard: MB-46762
        # Subject Branch Project Status CR V

        Activity

          People

            umang.agrawal Umang
            mihir.kamdar Mihir Kamdar (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty