[ZBX-4902] Template export doesn't work Created: 2012 Apr 21 Updated: 2017 May 30 Resolved: 2012 May 02 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | 2.0.0rc3 |
Fix Version/s: | 2.0.0rc4 |
Type: | Incident report | Priority: | Critical |
Reporter: | Sergey Syreskin | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
RHEL 5 based distro, PostgreSQL 8.4 |
Issue Links: |
|
Description |
When exporting any of the default Zabbix templates (old ones, without discovery), I get empty xml file. Frontend shows a message that export was successful, and there are no details in this message. There is an error in Apache log file: However, if I comment out lines with applications, discovery_rules and screens in /usr/share/zabbix/include/classes/export/CConfigurationExportBuilder.php near line number 68, export works. |
Comments |
Comment by Alexey Fukalov [ 2012 Apr 23 ] |
dev branch: svn://svn.zabbix.com/branches/dev/ZBX-4902 |
Comment by Pavels Jelisejevs (Inactive) [ 2012 Apr 26 ] |
TESTED. |
Comment by Alexey Fukalov [ 2012 Apr 26 ] |
svn://svn.zabbix.com/trunk 27135 |
Comment by Sergey Syreskin [ 2012 May 02 ] |
Template export still does not work for me in today's trunk (27216). I get an error in Apache log: PHP Fatal error: Argument 1 passed to CConfigurationExportBuilder::formatDependencies() must not be null, called in /usr/share/zabbix/include/classes/export/CConfigurationExportBuilder.php on line 364 and defined in /usr/share/zabbix/include/classes/export/CConfigurationExportBuilder.php on line 537, referer: https://localhost/zabbix/templates.php?templateid=10077&sid=892c58c2393bad51 Template id 10077 stands for a built-in Zabbix Template OS HP-UX |
Comment by Alexey Fukalov [ 2012 May 02 ] |
dev branch: svn://svn.zabbix.com/branches/dev/ZBX-4902 |
Comment by Simon Kowallik [ 2012 May 03 ] |
Frontend from svn://svn.zabbix.com/branches/dev/ZBX-4902 works for |
Comment by Pavels Jelisejevs (Inactive) [ 2012 May 09 ] |
(1) When I try to export the default Zabbix server I get an error: "[error] Undefined index: proxy [include/classes/export/CConfigurationExportBuilder.php:125]" <Vedmak> This will be fixed in <pavels> Ok, CLOSED for now. |
Comment by Alexey Fukalov [ 2012 May 09 ] |
svn://svn.zabbix.com/trunk 27383. |