[ZBX-4702] Dynamic item missing in the exported xml files of the screen Created: 2012 Feb 27  Updated: 2017 May 30  Resolved: 2012 Mar 13

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 1.9.8 (beta)
Fix Version/s: None

Type: Incident report Priority: Critical
Reporter: Guoyu Li Assignee: Unassigned
Resolution: Fixed Votes: 1
Labels: screens
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

redhat-release-5Server-5.5.0.2


Issue Links:
Duplicate
duplicates ZBX-3531 Export/import basic functionality Closed
duplicates ZBXNEXT-904 Redesign Configuration->Screens Closed

 Description   

There is not any tag for dynamic item in the exported xml files of the screen, which caused "dynamic item" configuration lost after exporting and importing.



 Comments   
Comment by Alexei Vladishev [ 2012 Feb 27 ]

It will be fixed in ZBX-3531.

Comment by Guoyu Li [ 2012 Feb 27 ]

Thanks, looking forward to the fix.

Comment by Igor Danoshaites (Inactive) [ 2012 Mar 07 ]

At this moment in dev branch ZBX-3531, when using dynamic item in the screen, there is not possible to set checkbox "Dynamic item" to the "checked" state, after saving screen conf it will be reset to the "unchecked" state and in the xml file always will be "0" value: <dynamic>0</dynamic>
If I in the xml file set dynamic=1 and then import such xml file, then item will be dynamic.

But in trunk branch (rev #25858) can check / un-check this button and save screen configuration, but in trunk in the result xml file there are NO parameter "dynamic" at all.

Comment by Eduards Samersovs (Inactive) [ 2012 Mar 13 ]

Resolved in ZBXNEXT-904

Comment by Igor Danoshaites (Inactive) [ 2012 Mar 13 ]

OK, now in dev branch svn://svn.zabbix.com/branches/dev/ZBXNEXT-904 flag for "dynamic item" can be set, but in order to test it together with xml import/export functionality need to merge src file, as in dev branch dev/ZBXNEXT-904 there is no <dynamic> tag in the result xml at all.

<Eduard> Code merged and conflicts resolved

Comment by Igor Danoshaites (Inactive) [ 2012 Mar 13 ]

OK, now in dev branch svn://svn.zabbix.com/branches/dev/ZBXNEXT-904 dynamic items are working and is possible to export these dynamic items.
In the result in the xml file will appear "<dynamic>1</dynamic>" for the screen dynamic item.

Comment by Igor Danoshaites (Inactive) [ 2012 Mar 14 ]

This issue has been fixed dev branch svn://svn.zabbix.com/branches/dev/ZBXNEXT-904 and will be merged into trunk branch a bit later.

Generated at Sat Apr 20 13:28:23 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.