Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 3093 by nano...@gmail.com: prevent adding a duplicated repo name on reviewboard server
http://code.google.com/p/reviewboard/issues/detail?id=3093


What version are you running?
1.7.6


What's the URL of the page containing the problem?
/admin/db/scmtools/repository/add

What steps will reproduce the problem?
1. create a first repo with name "repository" (for example)
2. create a second one with same name "repository"
could be reproduced using rest api too

What is the expected output?
prevent form being validated because a repository and notify submitter a repo with same name already exists

What do you see instead?
a 2nd repo with same name has been created, and review request on this repo will fail with error

MultipleObjectsReturned: get() returned more than one Repository -- it returned 2! Lookup parameters were {}

What operating system are you using? What browser?
any

In our case it happens often because we have already several repo defined (196) and people do not check everytime a repo name already exists on second page of repo list :-(

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard-issues+unsubscr...@googlegroups.com.
To post to this group, send email to reviewboard-issues@googlegroups.com.
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to