-
Problem report
-
Resolution: Unresolved
-
Trivial
-
7.4.3rc1, 8.0.0alpha1 (master)
-
Sprint candidates
-
1
In host Macros tab in "Inherited and host macros" if type of any macro is changed, then changes are cancelled (clicked Remove), inline validation "This field cannot be empty." is triggered for Macro and Effective value fields.
Steps to reproduce:
- Go to Administration -> Macros
- Create a Macro with type Text, fill the value field with something (e.g. abc123)
- Go to Data collection -> Hosts
- Open any host, go to Macros tab, then "Inherited and host macros"
- Find your newly created macro, click Change
- In the type dropdown instead of Text choose Secret text
- Click remove
Result: inline validation is triggered, errors "This field cannot be empty." are displayed for Macro and Effective value fields.
Expected: no inline validation triggered for these fields since changes are cancelled (by clicking Remove)