[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-991) Validate seam project names before creating them

Victor Rubezhny (JIRA) jira-events at lists.jboss.org
Mon Oct 15 07:09:04 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBIDE-991?page=comments#action_12382405 ] 
            
Victor Rubezhny commented on JBIDE-991:
---------------------------------------

Validation of  what page should care of project folders duplication? 

We can't make the user not to go next from the first page, because ear or war project is selected on the last page (if we disable "next" button at first page the user never can change project type). Also we can't predict what type of project (which is to be selected on the last page) to make decision: to validate for *-ear and *-ejb projects duplication or not. 

So, IMHO, the correct place to do this validation is the last page. But the user will have to rewind to the first page to change the project name in case of possible project duplications. It's not good at all but better than if we require the user to change project name on the first page while *-ejb or *-ear project exists and user want to select war-project.

I think it will be good to create additional page which will give the possibility to change names for *-test, *-ejb and *-ear projects in case of names duplication. (Probably not for GA)

> Validate seam project names before creating them
> ------------------------------------------------
>
>                 Key: JBIDE-991
>                 URL: http://jira.jboss.com/jira/browse/JBIDE-991
>             Project: JBoss Tools
>          Issue Type: Bug
>          Components: Seam
>    Affects Versions: 2.0.0.Beta2
>         Environment: WindowsXP SP2
> rhds-win32-1.0.0.beta2.jar
> Red Hat Developer Studio
> Version: 1.0.0 BETA2
> Build: 200709272012-integration
> JDK 1.5_08
>            Reporter: Aliaksey Nis
>         Assigned To: Victor Rubezhny
>             Fix For: 2.0.0.CR1
>
>         Attachments: SeamRemake.JPG, SeamRemake.txt
>
>
> 1. Create deafult Seam Project, name it "test".
> 2. Delete it from web projects view with content (so jsf part will be deleted, but part named test-test - no)
> 3. Open wizard for create new Seam project, name it "test" - no warning appears.
> 4. Press Finish in creation wizard.
> Error and exception appears.
> Think that there must be check not only for name of main jsf component name, but for other (-test, -ejb, etc) too.
> Logs and screenshot attached.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list