XML export/import in 2.0 (ZBX-4867)

[ZBX-4895] Host proxy is exported as id Created: 2012 Apr 20  Updated: 2012 May 02  Resolved: 2012 May 02

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

Type: Sub-task Priority: Major
Reporter: Alexey Fukalov Assignee: Alexey Fukalov
Resolution: Fixed Votes: 0
Labels: export
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: XML File zbx_export_hosts-4.xml    

 Comments   
Comment by Alexey Fukalov [ 2012 Apr 23 ]

dev branch: svn://svn.zabbix.com/branches/dev/ZBX-4895

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

(1) The proxy name seems to be exported correctly, but when I tried to import it back, I've received an error:

preg_match() expects parameter 2 to be string, array given [api/classes/CHostInterface.php:566]
Incorrect interface DNS parameter "Array" provided.

I've attached the exported file.

<Vedmak> RESOLVED

<pavels> CLOSED.

Comment by Pavels Jelisejevs (Inactive) [ 2012 May 02 ]

(2) I've exported a host without a proxy, then added a proxy. When I imported the file back, I would expect the proxy to be unset, but it's not updated at all.

<Vedmak> RESOLVED

<pavels> CLOSED.

Comment by Pavels Jelisejevs (Inactive) [ 2012 May 02 ]

TESTED.

Comment by Alexey Fukalov [ 2012 May 02 ]

svn://svn.zabbix.com/trunk 27215

Generated at Fri Apr 26 10:22:32 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.