Part of 'import Vm/Template more than once' enhancement; The fix allows to import the VM more than once (as clone) regardless to fact that it's present in the setup or not. Prior to this fix, you couldn't clone the VM from export domain if it could be imported normally (without cloning).
Description of problem:
Cannot import as clone if the VM doesn't exist in the system ('write as')
Steps to Reproduce:
1. Export a vm & delete it from the setup (the vm only resides in export domain)
2. Import the VM
Actual results:
cannot import as clone ('write as') if the VM can be imported as it is
Expected results:
allow the user to import as clone.
Description of problem: Cannot import as clone if the VM doesn't exist in the system ('write as') Steps to Reproduce: 1. Export a vm & delete it from the setup (the vm only resides in export domain) 2. Import the VM Actual results: cannot import as clone ('write as') if the VM can be imported as it is Expected results: allow the user to import as clone.