Bug 1072045 - Shouldn't be allowed to create a version for blank template
Summary: Shouldn't be allowed to create a version for blank template
Keywords:
Status: CLOSED DUPLICATE of bug 1130174
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.4.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 3.5.0
Assignee: Nobody
QA Contact: meital avital
URL:
Whiteboard: virt
Depends On:
Blocks: 1072384
TreeView+ depends on / blocked
 
Reported: 2014-03-03 18:45 UTC by meital avital
Modified: 2014-08-15 13:25 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-08-15 13:25:09 UTC
oVirt Team: ---
Target Upstream Version:
Embargoed:
mavital: needinfo+


Attachments (Terms of Use)

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 ***


Note You need to log in before you can comment on or make changes to this bug.