Bug 1140429

Summary: [Copy Version] Should not run for first version of a new project
Product: [Retired] Zanata Reporter: Ding-Yi Chen <dchen>
Component: UsabilityAssignee: Alex Eng <aeng>
Status: CLOSED CURRENTRELEASE QA Contact: Zanata-QA Mailling List <zanata-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.5CC: zanata-bugs
Target Milestone: ---   
Target Release: 3.5   
Hardware: Unspecified   
OS: Unspecified   
URL: https://github.com/zanata/zanata-server/pull/584
Whiteboard:
Fixed In Version: 3.5.0-SNAPSHOT (git-jenkins-zanata-server-github-pull-requests-2022) Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-01-26 23:27:57 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 Ding-Yi Chen 2014-09-11 00:37:55 UTC
Description of problem:
When creating the first version for a new project, the copy version kicked in,
but there is no version to copy from, so it stuck there.

Version-Release number of selected component (if applicable):
Zanata 3.5.0-SNAPSHOT (git-jenkins-zanata-server-github-pull-requests-1943) 

How reproducible:
Always

Steps to Reproduce:
1. Login
2. Create a new project
3. Create a new version
4. Go to the newly created project-version view

Actual results:
The version was readonly.

Expected results:
The version should be writable.

Additional info:
The workaround is mark the version as writable.

However existing users like me are quite likely not aware of this new behavior and wonder why the push failed; and new users would think this is a bug of Zanata that you cannot push the first version.

Thus I put severity as high.

Comment 1 Ding-Yi Chen 2014-09-11 00:54:46 UTC
Bug 1129906 is for add 2nd and later version. This bug happend in the first version.

Comment 2 Alex Eng 2014-09-11 02:30:23 UTC
Pull request:
https://github.com/zanata/zanata-server/pull/584

Comment 3 Ding-Yi Chen 2014-09-11 04:58:22 UTC
VERIFIED with Zanata 3.5.0-SNAPSHOT (git-jenkins-zanata-server-github-pull-requests-2022)