[ZBX-5045] Array to string conversion [adm.macros.php:107] when deleting global macro with PHP >= 5.4.0 Created: 2012 May 23  Updated: 2017 May 30  Resolved: 2012 Jul 02

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

Type: Incident report Priority: Critical
Reporter: Oleksii Zagorskyi Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: macros
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

PHP >= 5.4.0



 Description   

Array to string conversion [adm.macros.php:107] when deleting global macro with PHP >= 5.4.0

Note that text of the error is very similar to another issue ZBX-5014
Reproducible only for trunk and only for global macro



 Comments   
Comment by Pavels Jelisejevs (Inactive) [ 2012 Jul 02 ]

RESOLVED in svn://svn.zabbix.com/branches/dev/ZBX-5045.

Comment by Oleksii Zagorskyi [ 2012 Jul 02 ]

Dev branch successfully TESTED.

Now an audit log contains a correct record (description column) about the deleted macro:
{$DDDDEV} ⇒ wwwww

Before the fix it was:
Array ⇒ wwwww

Comment by Pavels Jelisejevs (Inactive) [ 2012 Jul 03 ]

I guess this one doesn't need a code review.

Comment by Pavels Jelisejevs (Inactive) [ 2012 Jul 03 ]

Fixed in 2.0.2rc1 r28634 and 2.1.0 r28635.

CLOSED.

Generated at Fri Mar 29 10:13:45 EET 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.