[cdi-dev] [JBoss JIRA] (CDI-188) Bean in different wars should be allowed to have the same EL name

Pete Muir (JIRA) jira-events at lists.jboss.org
Mon Jan 30 06:30:48 EST 2012


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

Pete Muir reassigned CDI-188:
-----------------------------

    Assignee: Jozef Hartinger


No, this is discussed, and IIRC, TCK'd.

"All unresolvable ambiguous EL names are detected by the container when the application is initialized."

from 5.3.1

So all ambiguities are "fail-fast", not runtime fail as Mark describes.

However yes, I'm not 100% sure why War isolation is not good enough here.

Jozef, could you test in Weld quickly?
                
> Bean in different wars should be allowed to have the same EL name
> -----------------------------------------------------------------
>
>                 Key: CDI-188
>                 URL: https://issues.jboss.org/browse/CDI-188
>             Project: CDI Specification Issues
>          Issue Type: Bug
>            Reporter: Stuart Douglas
>            Assignee: Jozef Hartinger
>             Fix For: 1.1 (Proposed)
>
>
> Normally two beans with the same @Named would be treated as an error. If they are in sperate war's this should be allowed. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the cdi-dev mailing list