-
Notifications
You must be signed in to change notification settings - Fork 13.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[bufix] filtered column was removed #4921
Conversation
if a filter is created on a chart, and the column is removed from the dataset, you get a "'NoneType' object has no attribute 'is_num'" or something to that effect. This fix disregards the filter. Also error messages were HTML escaped which React does already anyways so that's not necessary [anymore] here.
Codecov Report
@@ Coverage Diff @@
## master #4921 +/- ##
=======================================
Coverage 77.12% 77.12%
=======================================
Files 44 44
Lines 8539 8539
=======================================
Hits 6586 6586
Misses 1953 1953
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
if a filter is created on a chart, and the column is removed from the dataset, you get a "'NoneType' object has no attribute 'is_num'" or something to that effect. This fix disregards the filter. Also error messages were HTML escaped which React does already anyways so that's not necessary [anymore] here. (cherry picked from commit e213ccd)
It could get a little confusing if the filter remains in the form data but gets disregarded in the backend. It would look like the filter is still getting applied but it's actually the case the field doesn't exist. What about just showing a better error message (a prompt to remove the filter)? |
if a filter is created on a chart, and the column is removed from the dataset, you get a "'NoneType' object has no attribute 'is_num'" or something to that effect. This fix disregards the filter. Also error messages were HTML escaped which React does already anyways so that's not necessary [anymore] here. (cherry picked from commit e213ccd)
Yes there should be a validator on the |
if a filter is created on a chart, and the column is removed from the dataset, you get a "&apache#39;NoneType&apache#39; object has no attribute &apache#39;is_num&apache#39;" or something to that effect. This fix disregards the filter. Also error messages were HTML escaped which React does already anyways so that's not necessary [anymore] here.
if a filter is created on a chart, and the column is removed from the dataset, you get a "'NoneType' object has no attribute 'is_num'" or something to that effect. This fix disregards the filter. Also error messages were HTML escaped which React does already anyways so that's not necessary [anymore] here. (cherry picked from commit e213ccd)
if a filter is created on a chart, and the column is removed from the dataset, you get a "'NoneType' object has no attribute 'is_num'" or something to that effect. This fix disregards the filter. Also error messages were HTML escaped which React does already anyways so that's not necessary [anymore] here. (cherry picked from commit e213ccd)
if a filter is created on a chart, and the column is removed from the dataset, you get a "&apache#39;NoneType&apache#39; object has no attribute &apache#39;is_num&apache#39;" or something to that effect. This fix disregards the filter. Also error messages were HTML escaped which React does already anyways so that's not necessary [anymore] here.
if a filter is created on a chart, and the column is removed from the dataset, you get a "'NoneType' object has no attribute 'is_num'" or something to that effect. This fix disregards the filter. Also error messages were HTML escaped which React does already anyways so that's not necessary [anymore] here. (cherry picked from commit e213ccd)
if a filter is created on a chart, and the column is removed from the dataset, you get a "'NoneType' object has no attribute 'is_num'" or something to that effect. This fix disregards the filter. Also error messages were HTML escaped which React does already anyways so that's not necessary [anymore] here. (cherry picked from commit e213ccd)
if a filter is created on a chart, and the column is removed from the dataset, you get a "'NoneType' object has no attribute 'is_num'" or something to that effect. This fix disregards the filter. Also error messages were HTML escaped which React does already anyways so that's not necessary [anymore] here. (cherry picked from commit e213ccd)
if a filter is created on a chart, and the column is removed from the dataset, you get a "'NoneType' object has no attribute 'is_num'" or something to that effect. This fix disregards the filter. Also error messages were HTML escaped which React does already anyways so that's not necessary [anymore] here. (cherry picked from commit e213ccd)
if a filter is created on a chart, and the column is removed from the dataset, you get a "'NoneType' object has no attribute 'is_num'" or something to that effect. This fix disregards the filter. Also error messages were HTML escaped which React does already anyways so that's not necessary [anymore] here. (cherry picked from commit e213ccd)
if a filter is created on a chart, and the column is removed from the dataset, you get a "'NoneType' object has no attribute 'is_num'" or something to that effect. This fix disregards the filter. Also error messages were HTML escaped which React does already anyways so that's not necessary [anymore] here. (cherry picked from commit e213ccd)
if a filter is created on a chart, and the column is removed from the dataset, you get a "&apache#39;NoneType&apache#39; object has no attribute &apache#39;is_num&apache#39;" or something to that effect. This fix disregards the filter. Also error messages were HTML escaped which React does already anyways so that's not necessary [anymore] here.
if a filter is created on a chart, and the column is removed from the
dataset, you get a "'NoneType' object has no attribute
'is_num'" or something to that
effect. This fix disregards the filter.
Also error messages were HTML escaped which React does already anyways
so that's not necessary [anymore] here.