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

Chart rendering stat that doesn't exist shows angular markup

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 6.5.0
    • 6.5.0
    • UI
    • None
    • Untriaged
    • Unknown

    Description

      I corrupt the user profile as by downloading it, editing and then uploading it as follows:

      # download
      $ curl -s localhost:9000/settings/rbac/profiles/@self -u Administrator:password | jq . > profile.json
      # edit profile.json to introduce desired corruption
      $ curl -i localhost:9000/settings/rbac/profiles/@self -u Administrator:password -X PUT --data "@profile.json"
      

      When I corrupt one of the charts so that it refers to a group that doesn't exist:

          {
            "stats": {
              "cpu_utilization_ratexxx": "@system"
            },
            "size": "small",
            "specificStat": true,
            "preset": true,
            "id": "ztxdr0wpq"
          },
      

      I see this.

      Would be nice to see:

      • no angular markupt
      • "<name of stat> does not refer to a known statistic"

      Attachments

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

        Activity

          People

            ajay.bhullar Ajay Bhullar
            dfinlay Dave Finlay
            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