[ZBX-7022] Group and host filter not working in screen elements Created: 2013 Sep 18 Updated: 2017 May 30 Resolved: 2013 Sep 24 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | None |
Fix Version/s: | 2.2.0 |
Type: | Incident report | Priority: | Major |
Reporter: | Pavels Jelisejevs (Inactive) | Assignee: | Ivo Kurzemnieks |
Resolution: | Fixed | Votes: | 0 |
Labels: | filters, screens | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Description |
I have a screen with a "Status of host group triggers" screen element without a host group selected. When I open it in the monitoring section, the group and host filters of the screen element are always set to "All" and I can't change them. |
Comments |
Comment by Pavels Jelisejevs (Inactive) [ 2013 Sep 18 ] |
Regression, broken by ------------------------------------------------------------------------ ..F....... |
Comment by Ivo Kurzemnieks [ 2013 Sep 18 ] |
(1) Same example: create a screen with "Status of host group triggers" and no host group. Open it in Monitoring > Screens. When trying to select a host after page refresh, it redirects from /frontends/php/screens.php to /frontends/php/jsrpc.php producing an error <table class="msgerr" cellpadding="0" cellspacing="0"><tr class=""><td class="msg_main msg" id="page_msg"><strong class="">ERROR: Wrong RPC call to JS RPC!</strong></td></tr></table> When selecting host immediately, it at least stays on that link /frontends/php/screens.php. iivs Adding back parameters "tr_groupid" and "tr_hostid" resolves also this issue. jelisejev CLOSED. |
Comment by Ivo Kurzemnieks [ 2013 Sep 18 ] |
Actually it was already broken in dev branch |
Comment by Pavels Jelisejevs (Inactive) [ 2013 Sep 19 ] |
(2) Permissions to the selected host and host group have to be validated the same way as for groupid and hostid. iivs RESOLVED in r38642 jelisejev The validation of the tr_groupid and groupid parameters should be done in a single API request. Same for tr_hostid and hostid. iivs RESOLVED in r38695
iivs RESOLVED in r38755 jelisejev Please review my changes in r38800. iivs REVIEWED. |
Comment by Pavels Jelisejevs (Inactive) [ 2013 Sep 26 ] |
TESTED. If (2) is OK you can merge. |
Comment by Ivo Kurzemnieks [ 2013 Sep 26 ] |
Fixed in pre-2.1.6 (trunk) r38803 |