[ZBX-4862] Error when trying to add/remove additional templates in the host mass update form Created: 2012 Apr 10  Updated: 2017 May 30  Resolved: 2012 Apr 13

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 2.0.0rc3
Fix Version/s: 2.0.0rc3

Type: Incident report Priority: Major
Reporter: Igor Danoshaites (Inactive) Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: hostmassupdate
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates ZBXNEXT-1181 Redesign Configuration -> Hosts -> Ma... Closed

 Description   

In Configuration->Hosts->Host mass update, in the Host mass update form select "Link additional templates", then click remove or add button ->
will appear the following error:

array_keys() expects parameter 1 to be array, string given [hosts.php:182]
Invalid argument supplied for foreach() [hosts.php:189]

Reproduced in the trunk rev #26719.



 Comments   
Comment by Igor Danoshaites (Inactive) [ 2012 Apr 10 ]

The same error with "Replace linked templates".

Comment by Toms (Inactive) [ 2012 Apr 11 ]

Will leave it for mass update form redesign.

Comment by richlv [ 2012 Apr 11 ]

that's not a wontfix then

Comment by Toms (Inactive) [ 2012 Apr 12 ]

decided to fix anyway

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

Comment by Pavels Jelisejevs (Inactive) [ 2012 Apr 12 ]

(1) The error still appears if there are no templates in the list and you click on the "remove" button.

<Toms> RESOLVED

<pavels> CLOSED.

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

TESTED.

Comment by Toms (Inactive) [ 2012 Apr 16 ]

Fixed in 2.0.0rc3 r26844

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