Hello,
A few days ago I was working on a way of sharing within my organization my saved views such that my peers could easily view all the devices that answer certain tag criteria (356579).
Last week I got to a single-script working solution that could generate from scratch the LocalStorage value required for the <ENTITY>__views
, and that could also manipulate a computer’s configuration files of Chrome | Firefox so the database (particularly the LocalStorage’s <ENTITY>__views
entry) was updated with the new value.
This was working for sure up until last Friday, April 22nd. Today however, at my first attempts this week, selecting one of my saved views is not working anymore. Only views manually created and saved via the UI work now. I see you’ve released UI versions 12.1.6 and 12.1.7 yesterday and today, respectively. I don’t know if a bug was introduced in those versions?
What’s more, it seems that manually handling my browser’s LocalStorage <ENTITY>__views
entry directly is slightly modifying the dictionary contents, namely going from:
[{"id":"<16-alphanumeric-long-string>","name":"<saved-view-name>","scope":null,"filters":[{"$id":"<other-16-alphanumeric-long-string>","anyOf":[{"title":"is","description":"{\"name\":\"Tag\",\"operator\":\"is\",\"value\":\"<tag-name> : <tag-value>\"}","type":"object","properties":{"device_tag":{"contains":{"title":"Tag","properties":{"tag_key":{"const":"<tag-name>"},"value":{"const":"<tag-value>"}}}}},"required":["device_tag"]}]}]}]
to:
[{"id":"<16-alphanumeric-long-string>","name":"<saved-view-name>","scope":null,"filters":[{"$id":"<other-16-alphanumeric-long-string>","anyOf":[{"title":"contains","description":"{\"name\":\"Tag\",\"operator\":\"contains\",\"value\":\"<tag-name> : <tag-value>\"}","type":"object","properties":{"device_tag":{"contains":{"title":"Tag","properties":{"tag_key":{"const":"<tag-name>"},"value":{"const":"<tag-value>"}}}}},"required":["device_tag"]}]}]}]
i.e. the is
values in the anyOf
key are being transformed into contains
.
(P.S.: as you can probably tell, the only filter I wish to apply is one that highlights devices that have a Tag
set to a particular Name
and Value
)
Am I missing something here?
Thanks in advance for your help!