You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upgrading from 0.26.3 to the latest master branch, using a dashboard with "from" and "to" filters stored as dashboard metadata in the previous version, like
"default_filters": "{\"1234\": {\"__from\": \"15 days ago\", \"__to\": \"1 days ago\"}}"
Following #4981 these are not converted to the new __time_range filter and not being treated as date options in utils.merge_extra_filters they are used as filters instead:
"{"expressionType":"SIMPLE","subject":"__from","operator":"in","comparator":"15 days ago","clause":"WHERE","sqlExpression":null,"fromFormData":true,"filterOptionName":"63ad1398-eec0-449f-b0ae-7b8ab2c77b21"}"
Since the operator is "in" and the comparator is not an array, it also breaks when exploring any slice from that dashboard:
webpack:///./src/explore/AdhocFilter.js?:48 Uncaught TypeError: adhocMetric.comparator.join is not a function
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue .pinned to prevent stale bot from closing the issue.
Upgrading from 0.26.3 to the latest master branch, using a dashboard with "from" and "to" filters stored as dashboard metadata in the previous version, like
"default_filters": "{\"1234\": {\"__from\": \"15 days ago\", \"__to\": \"1 days ago\"}}"
Following #4981 these are not converted to the new
__time_range
filter and not being treated as date options inutils.merge_extra_filters
they are used as filters instead:"{"expressionType":"SIMPLE","subject":"__from","operator":"in","comparator":"15 days ago","clause":"WHERE","sqlExpression":null,"fromFormData":true,"filterOptionName":"63ad1398-eec0-449f-b0ae-7b8ab2c77b21"}"
Since the operator is "in" and the comparator is not an array, it also breaks when exploring any slice from that dashboard:
webpack:///./src/explore/AdhocFilter.js?:48 Uncaught TypeError: adhocMetric.comparator.join is not a function
The text was updated successfully, but these errors were encountered: