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

Inline validation: Different types of errors are triggered inconsistently for Tags field in host configuration form

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 7.4.0beta1 (master)
    • Frontend (F)

      Problem description: Different types of errors are triggered inconsistently for Tags field in host configuration form:
      In case if a user creates a duplicate tag, the error will not be shown until the focus is moved to another field. But in case if user removes the value in tag "Name" field, the inline error will be shown straight after the last symbol is deleted, without even removing focus from the input element.

      Steps to reproduce:

      1. Create a host with the following tag: Name = "AA", Value = "BB".
      2. Edit the configuration of this host and open Tags tab.
      3. Add another with Name = "AA", Value = "BB" without removing focus from Value field.
      4. Notice that inline validation error is not triggered.
      5. Focus back to name field (error is triggered), remove one letter "A" from tag name and wait for the error to disappear.
      6. Put the letter "A" back, to make the tags duplicate again - do not remove focus from Name field.
      7. Notice that inline validation error is not triggered.
      8. Delete the value of field Name for the duplicate tag - do not remove focus from Name field.

      Result: The inline error is triggered as soon as the last symbol is removed from Name field.
      Expected: Same as in the case with duplicate tags, the empty tag name error should not be triggered until the focus is removed from Name field.

      Example:

            vmurzins Valdis Murzins
            solonkins Sergejs Olonkins
            Team B
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: