krsnik93 opened a new issue #12938:
URL: https://github.com/apache/superset/issues/12938
Trying to add `filter_immune_slices` to prevent chart from being affected by
a `filter_box`. After clicking save in the Dashboard edit modal, there is no
visual feedback, but after inspecting Network tab in Developer Tools I can see
error response:
`{message: {json_metadata: [{filter_immune_slices: ["Unknown field."]}]}}`
### Expected results
Change gets applied to the dashboard.
### Actual results
No visual feedback after clicking save, HTTP response code 400 with "unknown
field" for "filter_immune_slices".
#### Screenshots

#### How to reproduce the bug
Create a dashboard. Add a filter box to it. Add a chart with column filtered
by the filter_box. Try to edit dashboard json metadata by adding the following
key-value:
`"filter_immune_slices": [slice_id]`
where slice_id is the id of the chart with column filtered by the
filter_box.
### Environment
(please complete the following information):
- superset version: `superset version`: Superset 1.0.0
- python version: `python --version`: Python 3.8.7
- node.js version: `node -v`: Node not installed.
### Checklist
Make sure to follow these steps before submitting your issue - thank you!
- [ ] I have checked the superset logs for python stacktraces and included
it here as text if there are any.
- [x] I have reproduced the issue with at least the latest released version
of superset.
- [x] I have checked the issue tracker for the same issue and I haven't
found one similar.
### Additional context
Add any other context about the problem here.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]