Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1165930

Summary: "Copy from previous version" shows if an obsolete version exists
Product: [Retired] Zanata Reporter: Damian Jansen <djansen>
Component: Component-LogicAssignee: Alex Eng <aeng>
Status: CLOSED CURRENTRELEASE QA Contact: Damian Jansen <djansen>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.5CC: dchen, zanata-bugs
Target Milestone: ---   
Target Release: 3.7   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 3.7.0-SNAPSHOT (git-jenkins-zanata-server-github-pull-requests-3632) Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-07-22 02:19:54 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:
Attachments:
Description Flags
Screenshot of error none

Description Damian Jansen 2014-11-20 04:12:49 UTC
Created attachment 959232 [details]
Screenshot of error

Description of problem:
If an admin has made the only version in a project obsolete, the maintainer creating a new version will still see the Copy from previous version checkbox.
This is checked and no versions are shown, but still somehow succeeds in a funny way (i.e. project type 'Unspecified', no copytrans, etc)

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

How reproducible:
Easy always

Steps to Reproduce:
1. Normal user sign in, create a project and a version
2. Log out, sign in as admin
3. Go to the same project-version, go to settings, click Archive
4. Log out, sign in as normal user, go to project
5. Click the New Version button

Actual results:
Checked 'Copy from previous' checkbox shown

Expected results:
No checkbox, only type list

Additional info:

Comment 1 Alex Eng 2015-05-26 01:21:11 UTC
PR:
https://github.com/zanata/zanata-server/pull/828

Comment 2 Damian Jansen 2015-05-26 04:02:44 UTC
Verified at a42dac51061be17149694c22c7cc04bfcee93243