[ZBX-7974] Impossible to choose host group for an user group after refusing node installation Created: 2014 Mar 20  Updated: 2017 May 30  Resolved: 2014 Apr 01

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 2.2.2
Fix Version/s: 2.2.4rc1, 2.3.0

Type: Incident report Priority: Major
Reporter: Alexey Pustovalov Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: dm
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate

 Description   

Zabbix frontend tries to select from database IDs for 1 node always, if nodes table is empty.



 Comments   
Comment by Alexey Pustovalov [ 2014 Mar 20 ]

popup_right.php:

        if($nodeid == 0) $nodeids = get_current_nodeid(true);
        else $nodeids = $nodeid;

        $count=0;
        $grouplist = array();

        $options = array(
                'nodeids' => $nodeids,
Comment by Eduards Samersovs (Inactive) [ 2014 Mar 26 ]

Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-7974

Comment by Oleg Egorov (Inactive) [ 2014 Mar 31 ]

(1) String changes?

Eduards No string changes

oleg.egorov CLOSED

Comment by Oleg Egorov (Inactive) [ 2014 Mar 31 ]

(2) Coding style
popup_right.php:96

		$hostGroups[$key]['name'] =
			get_node_name_by_elid($hostGroup['groupid'], true, NAME_DELIMITER).$hostGroup['name'];

Incorrect line wrapping

Eduards RESOLVED r.43921

oleg.egorov CLOSED

Comment by Oleg Egorov (Inactive) [ 2014 Mar 31 ]

(3) In popup now don't saved selected node.
Selected node1, select node2, reopen... selected node1
In 2.2 was OK

Eduards RESOLVED r.43932

oleg.egorov CLOSED

Comment by Oleg Egorov (Inactive) [ 2014 Apr 01 ]

TESTED

Comment by Eduards Samersovs (Inactive) [ 2014 Apr 07 ]

Fixed in versions 2.3.0 (trunk) r.44140, 2.2.4rc1 r.44138

Generated at Sat Apr 20 10:17:54 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.