[ZBX-14691] Faulty behaviour of mandatory fields in Trigger expression form Created: 2018 Aug 06  Updated: 2024 Apr 10  Resolved: 2018 Nov 05

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 3.0.21rc1, 3.4.13rc1, 4.0.0beta1
Fix Version/s: 3.0.24rc1, 3.4.15rc1, 4.0.2rc1, 4.2.0alpha1, 4.2 (plan)

Type: Problem report Priority: Trivial
Reporter: Larisa Grigorjeva Assignee: Vasily Goncharenko (Inactive)
Resolution: Fixed Votes: 0
Labels: asterisk, forms, functions, trigger
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: GIF File 3_0(1).gif     GIF File 3_0(2).gif     GIF File 3_0.gif     GIF File 3_0_trunk.gif     PNG File Selection_061.png     PNG File Selection_062.png     PNG File Selection_559.png     PNG File count.png     PNG File on_error.png    
Issue Links:
Duplicate
is duplicated by ZBX-13669 Input fields change width in trigger ... Closed
Team: Team D
Sprint: Sprint 41, Sprint 42, Sprint 43, Sprint 44, Sprint 45, Sprint 46, Nov 2018
Story Points: 1

 Description   

I. Missing asterisk - for trunk
Steps to reproduce:

  1. Go to Triggers - Create Trigger
  2. Click Expression Edit
  3. Choose Item with numeric data
  4. Choose Function sum(), avg(), or last(), max(), min(), etc...
  5. Leave Last of (T) field empty (Both dropdown values Time or Count)
  6. Enter N value and submit
  7. Get error that Last of (T) field is mandatory.

Expected:
Red asterisk should be added to Last of (T) field.

II. Disabled Count field in band() function - only for 3.0 and 3.4 versions.

  1. Go to Triggers - Create Trigger
  2. Click Expression Edit
  3. Choose Item with numeric data
  4. Choose Function band()
  5. In Last of (T) field choose dropdown value Count - filed remains disabled, so cannot fill it in.
  6. Enter all other values and submit
  7. Get error that Last of (T) Count parameter is mandatory.

Expected: When choosing Count dropdown value field should become editable.



 Comments   
Comment by Vasily Goncharenko (Inactive) [ 2018 Aug 27 ]

Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-14691_1 (part 1)

Comment by Vasily Goncharenko (Inactive) [ 2018 Aug 27 ]

Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-14691_2 (part 2)

Comment by Vasily Goncharenko (Inactive) [ 2018 Nov 05 ]

Fixed in:

  • 3.0.24rc1 r86424
  • 3.4.15rc1 r86425
  • 4.0.2rc1 r86430
  • 4.2.0alpha1 (trunk) r86428
Generated at Thu Apr 25 10:21:44 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.