Skip to content
This repository

Die on Different Project URI #38

Closed
theory opened this Issue August 20, 2012 · 0 comments

1 participant

David E. Wheeler
David E. Wheeler
Owner

In register_project, we currently ignore duplicate violations. However, to protect from the case that two different projects have the same name, we should also check the URI. That is, when a project already exists with the specified name, but its URI is different (or NULL vs. not NULL), we should die then, too. This will minimize the chances of two different projects claiming the same project name.

David E. Wheeler theory closed this issue from a commit August 28, 2012
David E. Wheeler Disallow duplicate project URIs.
Projects with a URI now must always have the same URI when deploying or an
exception will be thrown. If a project has no URI and its name is already
registered with a URI, this also dies (and vice versa).

Resolves #38.
4b695d6
David E. Wheeler theory closed this in 4b695d6 August 28, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.