Bug 753568

Summary: Backend: exporting a template that already exists in Export Domain will give an error that we cannot export vm instead of that we cannot export template
Product: [Retired] oVirt Reporter: Dafna Ron <dron>
Component: ovirt-engine-coreAssignee: lpeer <lpeer>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: iheim, lpeer, michal.skrivanek, Rhev-m-bugs, yeylon, ykaul
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: virt
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-12 10:43:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
screen shot none

Description Dafna Ron 2011-11-13 12:43:24 UTC
Created attachment 533367 [details]
screen shot

Description of problem:

when trying to export a template that already exists in Export domain without the override tag we will get an error that we cannot export VM because the template already exists. 
Please fix the following: 
1) change the work VM to Template (i.e cannot export template instead of cannot export vm) 
2) please specify the template's name since if you are exporting multiple templates which some exists and some do not you might want to know which ones did not get exported. 

Version-Release number of selected component (if applicable):

ic148

How reproducible:

100%

Steps to Reproduce:
1. try to export a template which already exists in the Export domain without selecting the force override option. 
2.
3.
  
Actual results:

we get an error: Cannot export VM. Template's name already exists.

Expected results:

we should change error to: Cannot export template. Template already exists + add the templates name to the error in case several templates are selected. 


Additional info:screen shot

Comment 1 Einav Cohen 2011-11-13 12:57:18 UTC
Backend are sending one of the CanDoAction message "variables" as "VM" instead of "Template" -> moving to the backend component.

Comment 2 Dafna Ron 2011-11-13 14:12:24 UTC
removed text from headline since according to Einav its not text

Comment 3 Itamar Heim 2012-12-12 10:43:24 UTC
Closing old bugs. If this issue is still relevant/important in current version, please re-open the bug.