[ZBX-11530] Exporting a web scenario with a templated application, the application name is lost in the process Created: 2016 Nov 25  Updated: 2024 Apr 10  Resolved: 2017 Jun 12

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: API (A), Frontend (F)
Affects Version/s: 3.2.4
Fix Version/s: 3.4.0alpha1

Type: Problem report Priority: Major
Reporter: Ivo Kurzemnieks Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: applications, export, httptest, webscenario
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Team: Team B
Sprint: Sprint 3, Sprint 4, Sprint 5, Sprint 6, Sprint 7, Sprint 8, Sprint 9
Story Points: 1

 Description   

1) Create a template and an application on that template.
2) Create a host and link the template.
3) On host, create web scenario and use the templated application.
4) Export host.

Open the exported XML and look for that web scenario. Notice that the web scenario is missing the application.



 Comments   
Comment by Miks Kronkalns [ 2017 Mar 14 ]

Zabbix 2.0 do not support web scenarios
Zabbix 2.2 export do not contain section of web scenarios at all; applications tag is empty.
Zabbix 2.4 export do not contain section of web scenarios at all; applications tag is empty.
Zabbix 3.0 export do not contain section of web scenarios at all; applications tag is empty.
Zabbix 3.2 <httptests> (web scenario) tag is included, but application is missed. <applications/> tag is empty.
current trunk <httptests> (web scenario) tag is included, but application is missed. <applications/> tag is empty.

Comment by Miks Kronkalns [ 2017 Mar 15 ]

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

Test scenarios should include export of applications that are inherited from template, as well as 'independent' applications.

Comment by Ivo Kurzemnieks [ 2017 Apr 25 ]

(1) String changes?

Miks.Kronkalns No translation string changes.

iivs CLOSED

Comment by Ivo Kurzemnieks [ 2017 Apr 26 ]

TESTED

Comment by Alexander Vladishev [ 2017 May 02 ]

(2) [A] Now, same issue with application defined on hosts.

Miks.Kronkalns Versions 2.2 and 3.0 are affected as well.

Miks.Kronkalns RESOLVED:

  • 2.2 svn://svn.zabbix.com/branches/dev/ZBX-11530 r67906
  • 3.2 svn://svn.zabbix.com/branches/dev/ZBX-11530_32 r67918

FOR TESTER:

  • Web scenario export must be tested in 3.2.
  • Hosts export must be tested in all affected versions.

iivs As discussed with sasha, the fix should be for 3.4. Issue was reopened due to regression. Now it's fixed incorrectly. Templated applications shouldn't appear on parent level.

REOPENED

Miks.Kronkalns RESOLVED in r68583

iivs CLOSED

Comment by Anna Kucenko (Inactive) [ 2017 May 30 ]

UI tested

Comment by Miks Kronkalns [ 2017 Jun 01 ]

Fixed:

  • 3.4.0alpha1 (trunk) r68788
Generated at Thu Apr 10 21:47:51 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.