-
Change Request
-
Resolution: Unresolved
-
Trivial
-
None
-
8.0.0alpha1 (master)
Currently, exporting a single host that has dependencies on another host (e.g., items used in graphs or triggers) does not produce any warning. The export goes through, but on import, restoring data is impossible without also importing the other related host.
Steps to reproduce:
- Create two hosts: A (with item A) and B (with item B) A_and_B_hosts.yaml
- On Host A, create a graph or trigger that also includes an item from Host B
- Export Host A only A_host.yaml
- Export Host B only B_host.yaml
- Delete A and B hosts
- Import the exported files
Actual result:
Hosts imported without trigger. No warning was shown during export that part of the configuration have dependencies and will not be restorable
Expected result: Show a warning during export "some elements (e.g. graphs, triggers) reference other hosts or templates that are not included in the export. These elements may be lost during import."