-
Problem report
-
Resolution: Unresolved
-
Major
-
5.4.7
-
Sprint 83 (Dec 2021), Sprint 84 (Jan 2022), Sprint 85 (Feb 2022), Sprint 86 (Mar 2022), Sprint 87 (Apr 2022), Sprint 88 (May 2022), Sprint 89 (Jun 2022), Sprint 90 (Jul 2022), Sprint 91 (Aug 2022), Sprint 92 (Sep 2022), Sprint 93 (Oct 2022), Sprint 94 (Nov 2022), Sprint 95 (Dec 2022), Sprint 96 (Jan 2023), Sprint 97 (Feb 2023), Sprint 98 (Mar 2023), Sprint 99 (Apr 2023), Sprint 100 (May 2023), Sprint 101 (Jun 2023), Sprint 102 (Jul 2023), Sprint 103 (Aug 2023), Sprint 104 (Sep 2023), Sprint 105 (Oct 2023), Sprint candidates
-
1
Steps to reproduce:
- Create a calculated item with a function as pattern and without ", like:
count(//item.one[1658],#4,"gt",avg(//item2[1234],15m))
Result:
With Test there will be successfully a retrieval of values possible.
During Add/Update the UI prints the following error:
Invalid parameter "/1/params": incorrect expression starting from "count(//item1[1658],#4,"gt",avg(//item2[1234],15m))".
Create/Update of items is only possible when the function (pattern) is in quotation marks:
count(//item1[1658],#4,"gt","avg(//item2[1234],15m)").
But this will end up in the error in the UI:
Cannot evaluate function: "avg(//item2[1234],15m)" is not a valid numeric float value at "count(//item1[1658],#4,"gt","avg(//item2[1234],15m)")".
Expected:
The ui follows the technical implementation and allows a pattern to be a function without quotation marks.