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

Frontend can pass empty itemids array to get_min_itemclock_by_itemid function

    XMLWordPrintable

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.6
    • Fix Version/s: 2.2.7rc1, 2.4.0rc1
    • Component/s: Frontend (F)
    • Labels:

      Description

      Sometimes Zabbix can generate queries like:

      STATEMENT: SELECT i.itemid,i.value_type FROM items i WHERE
      ERROR: syntax error at end of input at character 49
      STATEMENT: SELECT i.itemid,i.value_type FROM items i WHERE
      ERROR: syntax error at end of input at character 49
      STATEMENT: SELECT i.itemid,i.value_type FROM items i WHERE
      ERROR: syntax error at end of input at character 49
      

      It can happen in get_min_itemclock_by_itemid function.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            dotneft Alexey Pustovalov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: