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

CPatternSelect wildcard (*) broken if there is a name that is fully numeric

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 6.4.13
    • Frontend (F)
    • None

      Steps to reproduce:

      1. Create 2 hosts: one named "Zabbix1234server" and one named "1234"
      2. Go to the global dashboards and create a new dashboard
      3. Add a SVG Graph
      4. Type just a wildcard in the host pattern search without any other character (i.e. *)
      5. Notice that nothing is returned in the auto-suggest.
      6. Type 1234 and notice that it isn't until the full number is typed that values are returned in the auto-suggest. Meaning, 123 and 1 and 12 all return nothing in auto-suggest. You can also type just "1" or "12" or "123" and nothing will be returned in the auto-suggest until you type "1234"

      I'm not sure if this impacts the Item Pattern select, but I've recently extended CPatternSelect to create a custom UI widget that allows to specify a name pattern for navigating to other global dashboards and the same issue is present there. Meaning, If I have dashboard names of "Global View", "Zabbix server health" and "137", a single wildcard in the pattern field returns nothing.

       

            zabbix.dev Zabbix Development Team
            GRyan337 Ryan Eberly
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: