Bug 909032

Summary: Project version's project type should default to that of the project
Product: [Retired] Zanata Reporter: David Mason <damason>
Component: Component-LogicAssignee: Alex Eng <aeng>
Status: CLOSED CURRENTRELEASE QA Contact: Ding-Yi Chen <dchen>
Severity: low Docs Contact:
Priority: unspecified    
Version: developmentCC: aeng, sflaniga, zanata-bugs
Target Milestone: ---   
Target Release: 2.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 2.2-SNAPSHOT (20130215-1232) Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-27 03:23:16 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:

Description David Mason 2013-02-08 05:27:14 UTC
Description of problem:
On the edit-version page of the website, it should be possible to set the version to automatically use the project type of the parent project, but the dropdown list for project type does not present such an option, and there is no checkbox or button to select whether to inherit the setting.

Version-Release number of selected component (if applicable):
2.2-SNAPSHOT (20130208-1232)

How reproducible:
Always

Steps to Reproduce:
1.Sign in as admin or maintainer and navigate to any project-version that you have edit permission for
2.Click 'Edit Version' link
3.Try to set version to inherit...
  
Actual results:
There is no way to set version to inherit from parent project

Expected results:
Version is initially be set to inherit project type from parent project, and there is a way to change between inheriting and using a specified type, and back to inheriting.

Additional info:

Comment 1 Sean Flanigan 2013-02-08 05:30:33 UTC
I think this is another case where the subordinate should copy the parent, *not* inherit.

So the version should copy (ie default to) the parent's project type (when created), and then keep it thereafter.  Then if the parent's project type changes, the child won't automatically change.  Which is fine.

Is that what we've got?

Comment 2 Alex Eng 2013-02-08 05:34:57 UTC
That is the case for mvn:zanata push-version. I will implement the same logic in create version.

Comment 4 Alex Eng 2013-02-12 00:53:20 UTC
Implemented 'copy' of projectType from Project.

See 
https://github.com/zanata/zanata/commit/2ffd712a1652af4c797b5e47bb60451ff3303bc5

Comment 5 Ding-Yi Chen 2013-02-15 07:20:03 UTC
VERIFIED with Zanata version 2.2-SNAPSHOT (20130215-1232)

Comment 6 Sean Flanigan 2013-11-27 03:13:21 UTC
Closing VERIFIED bugs for Zanata versions <= 3.1.

Comment 7 Sean Flanigan 2013-11-27 03:15:25 UTC
Closing VERIFIED bugs for Zanata versions <= 3.1.

Comment 8 Sean Flanigan 2013-11-27 03:18:40 UTC
Closing VERIFIED bugs for Zanata versions <= 3.1.

Comment 9 Sean Flanigan 2013-11-27 03:23:16 UTC
Closing VERIFIED bugs for Zanata versions <= 3.1.

Comment 10 Sean Flanigan 2013-11-27 03:33:19 UTC
Closing VERIFIED bugs for Zanata versions <= 3.1.

Comment 11 Sean Flanigan 2013-11-27 03:35:35 UTC
Closing VERIFIED bugs for Zanata versions <= 3.1.