L2022.9: Filters with field names that do not match the names in the data model
We’re looking at updating Sisense; I have a question about the breaking change below.
Analytical Engine Overview: In the event that widgets contain filters with field names that do not match the names in the data model, they will load with an error about a dimension that is not found. In this case, delete the relevant filter, and recreate it using the correct field name specified in the data model. (https://docs.sisense.com/main/SisenseLinux/l2022-9-release-notes.htm)
Where in the dashboard .dash json file would I find the problem? Is it the when the highlighted lines in my screenshot below are different? Maybe I can write a script to fix all at once, maybe someone else has?
I got an answer. Turns out it's not when you set some name in the widget, but you rename the source column in the data model. And in such cases there was already a problem. So, I'm not so concerned; it's not likely to affect anyone, and if it does, then their widget already had an undiscovered bug, so I'll be glad to find it this way.
Sisense support said:
This breaking change does not affect all dashboards or data models. It only relates to "bad filters", which can occur when a designer creates a filter (any filter) using a column, and then the data admin renames that column in the data model.
Previously, such filters were ignored, data wasn't filtered, and unexpected data could be shown to the viewers. With AE activated, the system blocks such cases, and the widget returns an error.
The highlighted lines in your screenshot attached are completely fine and you don't need to edit them.