unarmedcivilian opened a new issue #10672: URL: https://github.com/apache/incubator-superset/issues/10672
I upgraded superset from 0.35.2 to 0.37.0. After the upgrade, I am noticing a regression in the UI for multi-select FilterBox. After selecting and removing a value, an additional Null item seems to get added to the list. ### Expected results The filter list should not contain invalid values ### Actual results The filter list contains an additional `NULL` value #### Screenshots <img width="418" alt="Default" src="https://user-images.githubusercontent.com/8530446/91180857-cb4e9900-e705-11ea-8977-867c5b043480.png"> <img width="261" alt="Select Any Value" src="https://user-images.githubusercontent.com/8530446/91180872-d0abe380-e705-11ea-8ba4-2d61f9d50826.png"> <img width="271" alt="Deselect" src="https://user-images.githubusercontent.com/8530446/91180874-d1dd1080-e705-11ea-98aa-50020480d97c.png"> <img width="1052" alt="Select Null" src="https://user-images.githubusercontent.com/8530446/91180918-e02b2c80-e705-11ea-83e2-069e6cc170d6.png"> Selecting the invalid value sends requests with null as the selected value. ` "extra_filters": [ { "col": "region", "op": "in", "val": [ null ] } ] ` #### How to reproduce the bug I am able to reproduce consistently on any dashboard with multi select filters. Please refer to screen shots based on the sample dashboards as an example. ### Environment (please complete the following information): - superset version: 0.37.0 - python version: 3.6.12 - node.js version: `node -v` - npm version: `npm -v` ### Checklist Make sure these boxes are checked 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]
