[ZBX-14539] Formula field validation of LLD calculated item Created: 2018 Jun 29  Updated: 2020 Jun 08  Resolved: 2020 Jun 02

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: API (A), Frontend (F)
Affects Version/s: 4.0.0alpha9
Fix Version/s: 5.0.2rc1, 5.2.0alpha1, 5.2 (plan)

Type: Problem report Priority: Trivial
Reporter: Natalja Romancaka Assignee: Alexander Vladishev
Resolution: Fixed Votes: 0
Labels: LLD, calculateditems
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Team: Team B
Sprint: Sprint 64 (May 2020), Sprint 65 (Jun 2020)
Story Points: 1

 Description   

Steps to reproduce:

  1. Create LLD rule of type Zabbix trapper
  2. Create calculated item prototype with formula like "абв"
  3. Send LLD JSON:
    $ zabbix_sender -s host -k lld -o '{"data":[{"{#M}":"1"}]}'
  1. Wait until discovered item is checked

Result:
Item discovered but then appears error, that formula isn't correct "Cannot evaluate expression: expected numeric token at "абв"."
Expected:
Check the formula before items will be discovered



 Comments   
Comment by Glebs Ivanovskis [ 2018 Jun 30 ]

Same story without LLD, as far as I know. And both Frontend and Server should be listed in Components, I believe.

Comment by Natalja Romancaka [ 2018 Jul 20 ]

cyclone, yes, the same story without LLD.

Comment by Alexander Vladishev [ 2020 Jun 01 ]

Available in:

Generated at Thu Mar 28 19:40:01 EET 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.