Bug 1328420

Summary: In new template menu -> create as template version -> Sub Version Name field inherits the first template's name
Product: [oVirt] ovirt-engine Reporter: sefi litmanovich <slitmano>
Component: Frontend.WebAdminAssignee: bugs <bugs>
Status: CLOSED WONTFIX QA Contact: Pavel Stehlik <pstehlik>
Severity: low Docs Contact:
Priority: low    
Version: 3.6.5.1CC: bugs, tjelinek
Target Milestone: ---Flags: sbonazzo: ovirt-4.2-
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-07-14 13:06:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Virt RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description sefi litmanovich 2016-04-19 11:07:57 UTC
Description of problem:

When creating a new template and choosing to create the template as a sub version of an existing template, two new fields open in the new template window - 'Root Template' which is a drop down field and is set by default to the first template (other than Blank) in SD by alphabetical order. The second field is the 'Sub Version Name' which is an editable field, but is also so set by default to the same name is in 'Root Template'.
My trouble is with the behaviour of the last one. If you change the Root template, the sub version field doesn't change accordingly and one must edit it and change it manually to the new template's name or to any name you want.

Version-Release number of selected component (if applicable):
rhevm-3.6.5.3-0.1.el6

How reproducible:
always

Steps to Reproduce:
1. Have several templates.
2. Create a new template as sub version of another template. 
3. Choose a different template than the first one in the 'Root Template' drop down.

Actual results:

Sub Version name remains the same as the first template name in Root Template drop down.

Expected results:

I would expect 1 of 2 behaviours:

1. 'Sub Version Name' is by default blank and does not change according to 'Root Template'. If user wants to name it she can do so the same as now.
2. 'Sub Version Name' will inherit any name that is chosen on 'Root Template' drop down (and of course still remain editable).

Additional info:

Comment 1 Michal Skrivanek 2016-12-21 09:08:27 UTC
The bug was not addressed in time for 4.1. Postponing to 4.2

Comment 2 Tomas Jelinek 2017-07-14 13:06:31 UTC
it is a low priority item - closing due to capacity.

Please feel free to reopen if it is an important issue for your use case.