-
Problem report
-
Resolution: Unresolved
-
Trivial
-
None
-
7.0.16, 7.2.10, 7.4.0
Should we validate templates-only file when importing from the Hosts page?
Steps to reproduce:
- Create template
- Add two items: master and dependent
- Create graph using the dependent item
- Export created template
- Delete template from page (or use the file and start with the next step a-template.yaml
)
- Open Data collection -> Hosts page
- Import the exported file with template data
Result:
error message "Cannot find item "dependent" on "A-template" used in graph "a-graph"."
There may be other scenarios, such as when a different template is used in an override.
Expected:
message "Imported successfully" without template data validation (and of course without template upload).
Ideally, show a more user-friendly message like "Nothing to import."
- related to
-
ZBX-23315 Misleading messages when importing on hosts page and template trigger is added to host
-
- Closed
-