|
Adding information formerly on CONTINUUM-1859: After adding a non-existent ant or shell project. Page doesn't redirect to the project group summary page. But page will display "Project name already exist". But user is added in the project group. **************************************************** jvm 1 | 2008-08-28 12:11:53,987 [pool-6-thread-1] INFO action#checkout-project - Checking out project: 'antProject', id: '14' to '/home/gwen/Desktop/maestro-1.7.3/project-server/bin/linux-x86-32/target/working-directory/14' with branch/tag . This patch fixes the bug. I have moved the alreadyExist validation form validate method to add method. After many attempts this is the most elegant solution I've found. Questions: 1. Can I add Project Name: Ant with Version: 1.0 and Project Name: Ant with Version: 2.0 to the same project group? 2. Can we add a Project with the same name and version but to a different project group? In I think we have to decide is a global validation (all projects) or only for the target project group . Has a decision been made here? I can be convinced either way, as long as it's documented. I can not make the final decision. The patch now checks all projects.I think we should consider the question: Is it neccesary to have a duplicate project? I think not, but if we want to make more flexible, we could check project group. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
I think they are two different bugs.
The first, ("Project name already exist") is related with
CONTINUUM-1952and CONTINUUM-1859. This bug is because the validation occurs constantly, once created, is evaluated the validation and detect duplicated because it has been created.Respect the second bug, I'm still working on it. I can only replicate the second bug in version 1.3.x.
I'm working to resolve this bugs.