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

Trigger function count() rejects numbers with "+" sign

    XMLWordPrintable

    Details

    • Team:
      Team D
    • Sprint:
      Sprint 48, Jan 2019
    • Story Points:
      0

      Description

      See ZBX-10784 for initial report.

      Steps to reproduce:

      1. Create host "Testing"
      2. Create item:
        • Name: "Calculated"
        • Type: Calculated
        • Key: calculated
        • Formula:
          count(float.trapper,#10,+1)
      3. Check Zabbix server log file.

      Result:

      item "Testing:calculated" became not supported: Cannot evaluate expression: "Cannot evaluate function "count(#10,+1)": "+1" is not a valid numeric float value.".

      Expected:
      "+" sign does not make a number invalid, check test cases in tests/libs/zbxcommon/is_double.yaml

        Attachments

          Activity

            People

            Assignee:
            martins-v Martins Valkovskis
            Reporter:
            cyclone Glebs Ivanovskis
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: