Bug 951383 - [Manage Role] Should prevent rename to existing role
Summary: [Manage Role] Should prevent rename to existing role
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Zanata
Classification: Retired
Component: Component-UI
Version: 2.3
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Sean Flanigan
QA Contact: Zanata-QA Mailling List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-04-12 07:51 UTC by Ding-Yi Chen
Modified: 2015-07-31 01:21 UTC (History)
1 user (show)

Fixed In Version:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-07-31 01:21:37 UTC
Embargoed:


Attachments (Terms of Use)

Description Ding-Yi Chen 2013-04-12 07:51:59 UTC
Description of problem:
When editing a role, Zanata should prevent the role renaming to existing role.

Version-Release number of selected component (if applicable):
Zanata version 2.3-SNAPSHOT (20130412-1235)

How reproducible:
Always

Steps to Reproduce:
1. Sign in as admin
2. Cick More->administration->Manage role
3. Create 2 new roles, 'ROLE1' and 'ROLE2', ROLE2 is a member of ROLE1
4. Click *Edit* on ROLE2
5. Rename ROLE2 into 'admin'
6. Save
  
Actual results:
ROLE2 disappeard, and admin now become member of "ROLE1", existing "member of" of admin is overwritten.

Expected results:
Error message: Role "admin" already exists.

Additional info:

Comment 1 Damian Jansen 2014-07-28 03:50:04 UTC
Tested 3.5.0-SNAPSHOT (git-server-3.4.2-201-ge0afdde), still an issue

Comment 2 Zanata Migrator 2015-07-31 01:21:37 UTC
Migrated; check JIRA for bug status: http://zanata.atlassian.net/browse/ZNTA-454


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