Description of problem: Import VM should be refactored to be used more properly, so the maintenance of it should be much more easier. Today the import process is being used for the following processes: 1) Import VM/Template 2) Import Vm/Template from configuration 3) Register VM/Tempalte from OVF All those processes has common logic which is being shared through MoveOrCopyTemplateCommand, which is a command which is deprecated. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Tests for every operation mentioned above should be written, following a re-factor of small methods to be shared through all the processes. Additional info:
Closing old bugs. If this issue is still relevant/important in current version, please re-open the bug.
It's a CodeChange bug we'd probably want to handle sooner or later. Reopening so it can be tracked.
Daniel, let's kick this one out of the park while 4.0 is still fresh and new?
Actually, let's see if we can just remove most of these?
Liron, worth taking note of this RFE during your work on SDM.
4.0 and 4.1 already cleaned up the code considerably. Removing the leftovers isn't a goal on it's own right - if we ever need to do something in that area, we can perform this refactoring as part of it.