Hierarchical filters hang when filters are made parents of one another #15483
Labels
#bug
Bug report
dashboard:native-filters
Related to the native filters of the Dashboard
P3
Priority item - Normal
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
Environment
Checklist
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: