openwebbeans-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "George Sapountzis (JIRA)" <j...@apache.org>
Subject [jira] [Created] (OWB-562) non-enabled alternative beans with passivating scope fail validation during deployment
Date Sun, 10 Apr 2011 07:52:05 GMT
non-enabled alternative beans with passivating scope fail validation during deployment
--------------------------------------------------------------------------------------

                 Key: OWB-562
                 URL: https://issues.apache.org/jira/browse/OWB-562
             Project: OpenWebBeans
          Issue Type: Bug
          Components: Context and Scopes
    Affects Versions: 1.1.0
            Reporter: George Sapountzis
            Assignee: Gurkan Erdogdu


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.


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message