vermilioncity opened a new issue #15515:
URL: https://github.com/apache/superset/issues/15515


   Suppose you have a hierarchy of Animal -> Breed, and Breed is set to default 
to the first option.
   
   Unfiltered, the first value of Breed is Abruzzenhund, a dog breed. 
   
   However, species is set to a default value of "Cat".  The expected behavior 
is that the first default value for Breed should be Abyssian, a cat breed, but 
Abruzzenhund appears instead.   This means the dashboard shows no data.
   
   ### Expected results
   The default selections in a hierarchy should influence the first item of 
filters below.
   
   ### Actual results
   The first item displayed ignores the default values of parent filters.
   
   #### How to reproduce the bug
   
   1. Create two filters.  Set the first to have a default value of some kind
   2.  Set the second filter to be a child of the first, and set it to default 
to the first item
   3. Load the dashboard and see the first item may well not be logical
   
   ### Environment
   
   - superset version: 1.3 branch
   - python version: Python 3.7.9
   - node.js version: 14
   
   ### 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.
   


-- 
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]

Reply via email to