[jbosstools-issues] [JBoss JIRA] Assigned: (JBIDE-4393) Seam validator should complain about two components with the same name which are defined by @Name and <component/>

Viacheslav Kabanovich (JIRA) jira-events at lists.jboss.org
Mon Jun 15 11:06:07 EDT 2009


     [ https://jira.jboss.org/jira/browse/JBIDE-4393?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Viacheslav Kabanovich reassigned JBIDE-4393:
--------------------------------------------

    Assignee: Alexey Kazakov  (was: Viacheslav Kabanovich)


Fixed. The problem was that at regisering xml declarations all java declaration with class name not matching that referenced in xml, were removed from component. Now name of component is checked before removal.

> Seam validator should complain about two components with the same name which are defined by @Name and <component/>
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-4393
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-4393
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: Seam
>            Reporter: Alexey Kazakov
>            Assignee: Alexey Kazakov
>             Fix For: 3.1.0.M2
>
>
> EXECUTE: Create Seam Ear project
> EXECUTE: Add string <component class="org.domain.<seam-project-name>.session.Authenticator" name="authenticator"/> into components.xml
> ASSERT: There should be two error markes on components.xml and Authenticator.java - Two components with the same name and precedence.

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

        



More information about the jbosstools-issues mailing list