icingaweb2-module-director
icingaweb2-module-director copied to clipboard
Template Choices should be inherited when importing the associated Template
Expected Behavior
When creating a (Host) Template Choice and associating a Template A with it, other Templates (like Template B, Template C, etc.) that import Template A should show this Choice when creating a Host Object using Template B/C/etc..
Current Behavior
When creating a Host, only if directly importing the Template that is associated with a Choice, does it display the Choice (direct import of Template A).
When importing a Template that itself imports the associated Template, not Choice is presented when creating a Host (direct import of Template B, which in turn imports Template A).
Steps to Reproduce
- Create (Host) Template A
- Create dummy Template dummy
- Create Choice
- Add dummy Template to the "available choices"
- Associate Template A with this Choice
- Create Template B, which imports Template A
Now:
- Try creating a Host importing Template A
- Try creating a Host importing Template B
Only when importing Template A the Choice is actually visibable.
Your Environment
- Director version: 1.11.0
- Icinga Web 2 version: 2.12.1 (cd2daeb2cb8537c633d343a29eb76c54cd2ebbf2)