[webbeans-issues] [JBoss JIRA] Closed: (WBRI-343) Same decorator class listed more than once in beans.xml does not throw deployment exception

Pete Muir (JIRA) jira-events at lists.jboss.org
Tue Aug 11 16:28:18 EDT 2009


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

Pete Muir closed WBRI-343.
--------------------------

    Resolution: Done
      Assignee: Pete Muir


> Same decorator class listed more than once in beans.xml does not throw deployment exception
> -------------------------------------------------------------------------------------------
>
>                 Key: WBRI-343
>                 URL: https://jira.jboss.org/jira/browse/WBRI-343
>             Project: Web Beans
>          Issue Type: Bug
>          Components: Bootstrap
>            Reporter: Shane Bryzak
>            Assignee: Pete Muir
>             Fix For: 1.0.0.CR1
>
>
> Assertion 8.2.bc states:
> "If the same class is listed twice under the <decorators> element, the container automatically detects the problem and treats it as a deployment problem, as defined in Section 12.4, "Problems detected automatically by the container"."
> The RI is not detecting this invalid configuration as a deployment problem - please refer to the following TCK test class (which is currently marked ri-broken):
> org.jboss.jsr299.tck.tests.decorators.definition.broken.decoratorListedTwiceInBeansXml.DecoratorListedTwiceInBeansXmlTest

-- 
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 weld-issues mailing list