Die on Different Project URI #38

theory opened this Issue Aug 20, 2012 · 0 comments


None yet

1 participant

theory commented Aug 20, 2012

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.

@theory theory added a commit that closed this issue Aug 28, 2012
@theory 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.
@theory theory closed this in 4b695d6 Aug 28, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment