[ZBX-4593] can't add screen element "triggers info", showing all groups Created: 2012 Jan 27  Updated: 2017 May 30  Resolved: 2012 Feb 09

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: API (A)
Affects Version/s: 1.8.10
Fix Version/s: 1.8.11, 2.0.0rc1

Type: Incident report Priority: Blocker
Reporter: richlv Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: regression, screens, validation
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

try to add screen element "Triggers info" without choosing a group - that fails with "[ CScreenItem::update ] No resource provided for screen item"

this was possible before, is a totally valid configuration and previously saved screen elements work as expected

this was broken in r23675 as part of ZBX-3104



 Comments   
Comment by richlv [ 2012 Jan 27 ]

interesting - group selection actually has "all groups" option, which probably should be the default as well - but choosing that results in a different error message :

No host group ID provided for screen element. [CScreenItem.create -> CScreenItem.checkInput]

<pavels> Same thing, only the error message in the trunk differs from 1.8.

Comment by richlv [ 2012 Jan 27 ]

actually, there might be a problem with displaying as well - at least in trunk i get :

Illegal offset type in isset or empty [include/triggers.inc.php:1540]
Illegal offset type in isset or empty [include/triggers.inc.php:1655]

<pavels> Can't reproduce it, could you give some more details? May be a screenshot?

<richlv> for the record, this happened when an element with 'all groups' or no groups selected was already added to a screen (thus the original bug must be fixed to see this one)

<pavels> Wait, the original issue only affects the "Trigger info" screen items, while the one you describe affects the "Trigger overview" items. They're not connected. Or am I missing something?

<richlv> oh, that is possible - i had a screen with multiple elements and assumed errors come from triggers info. should a new issue be opened or can both problems be solved in here ?

<pavels> It's a trunk-only problem, so I've opened a new issue for it ZBX-4630.

<richlv> thanks, CLOSED

Comment by Pavels Jelisejevs (Inactive) [ 2012 Feb 06 ]

Fix for 1.8 is available in /branches/dev/ZBX-4593.

Comment by Alexey Fukalov [ 2012 Feb 09 ]

(1) [GUI]
Seems triggers info group is missing validation now.

<pavels> Right, fixed. RESOLVED.

Comment by Pavels Jelisejevs (Inactive) [ 2012 Feb 13 ]

Merged to 1.8 r25360 and trunk r25361.

CLOSED.

Generated at Sat Apr 27 07:02:10 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.