Bug 909032 - Project version's project type should default to that of the project
Summary: Project version's project type should default to that of the project
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Zanata
Classification: Retired
Component: Component-Logic
Version: development
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: 2.2
Assignee: Alex Eng
QA Contact: Ding-Yi Chen
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-08 05:27 UTC by David Mason
Modified: 2013-11-27 03:35 UTC (History)
3 users (show)

(edit)
Clone Of:
(edit)
Last Closed: 2013-11-27 03:23:16 UTC


Attachments (Terms of Use)

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.


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