Bug 1072045

Summary: Shouldn't be allowed to create a version for blank template
Product: Red Hat Enterprise Virtualization Manager Reporter: meital avital <mavital>
Component: ovirt-engineAssignee: Nobody <nobody>
Status: CLOSED DUPLICATE QA Contact: meital avital <mavital>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.4.0CC: acathrow, gklein, iheim, lpeer, mavital, michal.skrivanek, ofrenkel, Rhev-m-bugs, sherold, yeylon
Target Milestone: ---Flags: mavital: needinfo+
Target Release: 3.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: virt
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-15 13:25:09 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1072384    

Description meital avital 2014-03-03 18:45:49 UTC
Description of problem:
The blank template does not have a real image and it's not a editable objects and so we should not be able to create versions for blank template.


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


How reproducible:
always


Steps to Reproduce:
1. Select a shoutdown vm
2. Choose make template -> 
3. Select in the 'Root Template' : Blank

Actual results:
succeed to create a version of blank template.

Expected results:
Shouldn't be allowed to select blank template. 

Additional info:

Comment 1 Michal Skrivanek 2014-03-04 08:16:32 UTC
we're actually thinking of allowing it to be editable in 3.5(with instance types) to configure system-wide defaults. Then it would make sense to have versions as well

Though at the moment it's a wrong behavior indeed. I'm curious, can you then edit that newly created version?

Comment 2 meital avital 2014-03-05 15:27:22 UTC
Yes, I can edit the template that is a sub version of blank.

Comment 3 Omer Frenkel 2014-03-06 09:16:32 UTC
when fixing, need to re-consider, as instance types should be available,
making blank template also system (defualt) object and then having subversions might make sense

Comment 5 Michal Skrivanek 2014-08-15 13:25:09 UTC
we're going to address it in bug 1130174 the proper way

*** This bug has been marked as a duplicate of bug 1130174 ***