[weld-issues] [JBoss JIRA] (WELD-1023) Fail-fast when an <alternative> declaration in beans.xml is unused

Geoffrey De Smet (Updated) (JIRA) jira-events at lists.jboss.org
Wed Dec 7 07:50:41 EST 2011


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

Geoffrey De Smet updated WELD-1023:
-----------------------------------

    Priority: Optional  (was: Major)


@Ales: There are a couple of other weld-seam issues with a higher priority for us. Once I find some time, I 'll write test for those first and then maybe afterwards for this.

I've adjusted the priority of this issue accordingly to optional. Other issues like WELD-964 are far more important. Just wanted to note this one into jira too, because it could have saved me (and other weld users I presume) some time and confusion :)

                
> Fail-fast when an <alternative> declaration in beans.xml is unused
> ------------------------------------------------------------------
>
>                 Key: WELD-1023
>                 URL: https://issues.jboss.org/browse/WELD-1023
>             Project: Weld
>          Issue Type: Enhancement
>            Reporter: Geoffrey De Smet
>            Priority: Optional
>
> I have this in my beans.xml:
>   <alternatives>
>     <class>org.drools.guvnor.server.repository.TestRepositoryStartupService</class>
>   </alternatives>
> The class exists, but because of whatever reason (CDI-18 in this case), it's not used.
> Yet, everything starts up happily and I think I am using my alternative (while I am not).

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