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
For Gerrit Dashboard: MB-35786 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
114695,8 | MB-35786: handle unavailable stat | master | ns_server | Status: MERGED | +2 | +1 |