Bug 1328122

Summary: Unable to edit project details when you own both personal and group project with same name
Product: [Community] Copr Reporter: Jakub Kadlčík <jkadlcik>
Component: frontendAssignee: Jakub Kadlčík <jkadlcik>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecified   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-05 13:06:39 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:

Description Jakub Kadlčík 2016-04-18 14:06:59 UTC
Description of problem:
You are not able to edit your project details when you own both personal and group project with same name.

Version-Release number of selected component (if applicable):
copr-frontend-1.86

How reproducible:
Always

Steps to Reproduce:
1. Create personal project called "foo"
2. Go to arbitrary group that you are member of
3. Create project called "foo" in this group
4. Edit your personal "foo" project and hit "Update" button

Actual results:
You receive following error message: "You already have project named 'foo'."

Expected results:
Successful update of the project

Additional info:
If you try to edit your group project in step 4, you will succeed. The fail occurs only when editing your personal "foo" project.

Comment 1 Jakub Kadlčík 2016-04-19 12:13:17 UTC
Modified in: e33f762

Comment 2 Miroslav Suchý 2016-05-05 13:06:39 UTC
Package including this fix has been deployed on production instance of Copr.