[ZBX-11291] Regression: field "lifetime" for LLD rule is not validated any more Created: 2016 Sep 29  Updated: 2017 May 30  Resolved: 2016 Oct 16

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: API (A)
Affects Version/s: 3.0.3, 3.2.0, 3.4.0alpha1
Fix Version/s: 3.0.6rc1, 3.2.2rc1, 3.4.0alpha1

Type: Incident report Priority: Major
Reporter: Ivo Kurzemnieks Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: discoveryrule, lld, validation
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

The validation used to work and an error was generated in 2.2: "Discovery rule "A:A" has incorrect lifetime: "45346464564564564646456465". (min: 0, max: 3650, user macro allowed)". Now in >=3.0 This validation is skipped it never reaches checkSpecificFields().

Bug introduced in ZBXNEXT-2128 r55922



 Comments   
Comment by Ivo Kurzemnieks [ 2016 Oct 07 ]

(1) No translation string changes.

oleg.egorov CLOSED

Comment by Ivo Kurzemnieks [ 2016 Oct 07 ]

RESOLVED in svn://svn.zabbix.com/branches/dev/ZBX-11291

Comment by Oleg Egorov (Inactive) [ 2016 Oct 11 ]

Other issue for LLD "lifetime" field - ZBX-11344

Comment by Oleg Egorov (Inactive) [ 2016 Oct 11 ]

TESTED

Comment by Ivo Kurzemnieks [ 2016 Oct 11 ]

Fixed in:

  • pre-3.0.6rc1 r63084
  • pre-3.2.2rc1 r63085
  • pre-3.3.0 (trunk) r63086
Generated at Thu Mar 28 13:37:28 EET 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.