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

Bug 820025

Summary: unable to create project version if same version name has existed for other projects
Product: [Retired] Zanata Reporter: Joyce Chang <jochang>
Component: UsabilityAssignee: Carlos Munoz <camunoz>
Status: CLOSED CURRENTRELEASE QA Contact: Joyce Chang <jochang>
Severity: high Docs Contact:
Priority: unspecified    
Version: 1.6-SNAPSHOTCC: camunoz, petersen, zanata-bugs
Target Milestone: ---   
Target Release: 1.6-beta-1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Zanata version 1.6.0-alpha-3-SNAPSHOT (20120511-0019). Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-22 00:58:12 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 none

Description Joyce Chang 2012-05-08 23:19:34 UTC
Description of problem:
The current behaviour of project version creation doesn't allow to create a project version if same version name has existed for other projects.This should work for any projects creating a version name even if the same name is taken for other projects. 

Version-Release number of selected component (if applicable):
Zanata version 1.6.0-alpha-3-SNAPSHOT (20120509-0019). 

How reproducible:
always

Steps to Reproduce:
1.visit any project and create a version "master"
2.visit another project and create a version "master"
  
Actual results:
Failed to create version "master" for second project.
Return error:Version ID* This slug is not available 

Expected results:

Project version "master" for both projects are created successfully

Additional info:
see attachment

Comment 1 Joyce Chang 2012-05-08 23:21:40 UTC
Created attachment 583081 [details]
screenshot

a screenshot has been added

Comment 2 Carlos Munoz 2012-05-10 05:48:54 UTC
Fixed validation of project version slugs.

See:
https://github.com/zanata/zanata/commit/df2f822da20999eb7f0167356c5cc5860f9dec77

Comment 3 Joyce Chang 2012-05-11 05:33:44 UTC
verified in Zanata version 1.6.0-alpha-3-SNAPSHOT (20120511-0019).