You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "john-bodley (via GitHub)" <gi...@apache.org> on 2023/07/18 18:27:38 UTC
[GitHub] [superset] john-bodley opened a new issue, #24729: Error thrown when corrupted native dashboard filter metadata referencing obsolete filter ID
john-bodley opened a new issue, #24729:
URL: https://github.com/apache/superset/issues/24729
The dashboard native filters throws an unexpected error due to corrupted dashboard metadata.
#### How to reproduce the bug
Currently we're uncertain how the metadata becomes corrupted, though it likely occurs when people delete a filter. The issue surfaces when a the `cascadeParentIds` array references an ID which is not associated with any filters, e.g.
```
{
"native_filter_configuration": [
{
"id": "NATIVE_FILTER-4vk933fy2",
"cascadeParentIds": [
"NATIVE_FILTER-Fvk_h6yN"
],
...
}
]
}
```
Removing the hanging `NATIVE_FILTER-Fvk_h6yN` reference remedies the issue.
### Expected results
The `cascadeParentIds` array should only contain the IDs of currently defined filters.
### Actual results
An error is thrown.
#### Screenshots

### Environment
(please complete the following information):
- browser type and version: Chrome 114.0.5735.198
- superset version: `master`
- python version: `3.9`
- node.js version: `16`
- any feature flags active:
### Checklist
Make sure to follow these steps before submitting your issue - thank you!
- [x] 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.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
[GitHub] [superset] michael-s-molina closed issue #24729: Error thrown when corrupted native dashboard filter metadata referencing obsolete filter ID
Posted by "michael-s-molina (via GitHub)" <gi...@apache.org>.
michael-s-molina closed issue #24729: Error thrown when corrupted native dashboard filter metadata referencing obsolete filter ID
URL: https://github.com/apache/superset/issues/24729
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
[GitHub] [superset] michael-s-molina commented on issue #24729: Error thrown when corrupted native dashboard filter metadata referencing obsolete filter ID
Posted by "michael-s-molina (via GitHub)" <gi...@apache.org>.
michael-s-molina commented on issue #24729:
URL: https://github.com/apache/superset/issues/24729#issuecomment-1651999356
Closed by https://github.com/apache/superset/pull/24749
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org