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

Shane Bryzak (JIRA) jira-events at lists.jboss.org
Tue Aug 11 07:09:29 EDT 2009


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
             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