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

Inconsistent field trimming (form refresh) across forms upon clone

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 7.0.7rc1, 7.2.1rc1, 7.4.0alpha1
    • Frontend (F)

      1. create host group;
      1.1. edit host group and add spaces before name;
      1.2. press "Clone";
      1.3. notice that the spaces remain in name;
      2. create host;
      2.1. edit host and add spaces before name (and other fields too for good measure);
      2.2. press "Clone";
      2.3. notice that the whole form is refreshed and spaces are trimmed;
      3. create item;
      3.1. edit item and add spaces before name (and other fields too for good measure);
      3.2. press "Clone";
      3.3. notice that the whole form is refreshed and spaces are trimmed;
      4. create any other new modal window popup form (old controller forms will trim spaces due to form refresh) for example maintenance;
      4.1. edit maintenance name and add spaces before name;
      4.2. press "Clone";
      4.3. notice that the spaces remain in name;

      Currently the behavior of the forms is inconsistent which is something that can be improved. Maybe refresh is not needed, but if it is, forms that don't trim input fields, could do that when clone is pressed. Either way all forms should be consistent.

            zabbix.dev Zabbix Development Team
            iivs Ivo Kurzemnieks
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: