Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-27045

Inline validation triggered in inherited host macros, if macro type changed then changes removed

XMLWordPrintable

    • 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.

      Example: 

      Steps to reproduce:

      1. Go to Administration -> Macros
      2. Create a Macro with type Text, fill the value field with something (e.g. abc123)
      3. Go to Data collection -> Hosts
      4. Open any host, go to Macros tab, then "Inherited and host macros"
      5. Find your newly created macro, click Change
      6. In the type dropdown instead of Text choose Secret text
      7. 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)

            zabbix.dev Zabbix Development Team
            ssmildzina Sanija Smildzina
            Team B
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: