vermilioncity opened a new issue #15483: URL: https://github.com/apache/superset/issues/15483
Suppose you have Filter A and Filter B. You set Filter A to be a hierarchical filter and its parent to be Filter B. Then you set Filter B to be a hierarchical filter and its parent to be Filter A. The app hangs. If you open up the dev console, you will see errors printed out complaining about maximum recursion depth exceeded. ### Expected results Filters with already assigned relationships should be excluded from the drop down. ### Actual results All available filters are shown and the app goes into a recursive loop if you fatfinger and select a preexisting child. #### How to reproduce the bug 1. Create two filters (filter A and B) 2. Set filter A to be hierarchical and parent as Filter B 3. Set Filter B to be hierarchical and parent to be Filter A 4. Watch app hang forever :( ### Environment - superset version: `superset version` - python version: `python --version` - node.js version: `node -v` ### Checklist - [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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
