Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.1.0
-
None
Description
Declare a bean as:
@Alternative
@ConversationScoped
public class MBean implements Serializable {
}
Deployment fails during validating MBean.
Change the bean to:
@Typed()
@ConversationScoped
public class MBean implements Serializable {
}
Deployment succeeds.
It seems that non-enabled alternative beans are correctly ignored during bean scanning, but not ignored during validation. The metadata is not there and validation fails.