Make count() work with *_foreach()

XMLWordPrintable

    • Type: Problem report
    • Resolution: Won't fix
    • Priority: Trivial
    • None
    • Affects Version/s: 5.4.0, 5.4.1
    • Component/s: None
    • None

      Steps to reproduce:

      1. Create a item "item" on for example 10 hosts with value "1" and 10 with value 0.
      2. Create calculated item: count(last_foreach(//item[]),"eq",1) or count(//item[]),"eq",1)

      Result:
      Cannot evaluate function: invalid first argument at 'count(last_foreach(/*/item[]),"eq",1)'

       

      Expected:
      Should return 10.

            Assignee:
            Renats Valiahmetovs (Inactive)
            Reporter:
            S K
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: