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

XMLWordPrintable

    • Type: Problem report
    • Resolution: Unresolved
    • Priority: Trivial
    • None
    • Affects Version/s: 6.4.13, 7.4.0
    • Component/s: 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.

       

            Assignee:
            Zabbix Development Team
            Reporter:
            Ryan Eberly
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: