[
https://issues.jboss.org/browse/SOLDER-124?page=com.atlassian.jira.plugin...
]
Jozef Hartinger commented on SOLDER-124:
----------------------------------------
The issue is related to modular deployments (AS7, GF). GenericBeanExtension registers
GenericManagedBean instances which use a BeanManager instance internally for dependency
injection. The problem is that GenericBeanExtension receives a BeanManager instance for
the solder BDA (where the alternatives are not enabled). Therefore, a GenericManagedBean
instance always sees the alternatives as disabled although physically the bean class is
located in a BDA where the alternatives are enabled.
GenericBeanAlternativeTest fails on AS7
---------------------------------------
Key: SOLDER-124
URL:
https://issues.jboss.org/browse/SOLDER-124
Project: Seam Solder
Issue Type: Bug
Components: Generic Beans
Affects Versions: 3.1.0.Beta2, 3.1.0.Beta3
Environment: jboss-as-7.0.1.Final
Reporter: Marek Schmidt
Assignee: Stuart Douglas
Fix For: 3.1.0.CR1
test passes on AS6 and Weld Embedded, fails on AS7 and Glassfish 3.1.1
testGenericAlternatives(org.jboss.solder.test.bean.generic.alternative.GenericBeanAlternativeTest):
null expected:<[Alternative ]Big Bam> but was:<[]Big Bam>
testGenericProducerMethodAlternatives(org.jboss.solder.test.bean.generic.alternative.GenericBeanAlternativeTest):
null expected:<[Alternative ]Big Bam> but was:<[]Big Bam>
--
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