[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/>
Alexey Kazakov (JIRA)
jira-events at lists.jboss.org
Mon Jun 15 10:33:07 EDT 2009
[ https://jira.jboss.org/jira/browse/JBIDE-4393?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexey Kazakov reassigned JBIDE-4393:
-------------------------------------
Assignee: Viacheslav Kabanovich (was: Alexey Kazakov)
Works:
<component name="name1" class="Comp1"/>
@Name("name1")
class Comp1 {...}
Doesn't work:
<component name="name1" class="AnotherClass"/>
@Name("name1")
class Comp1 {...}
Slava please fix Seam model to have it worked for second case. It should keep info about both component declarations there.
> 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: Viacheslav Kabanovich
> 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