You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Mark Struberg (JIRA)" <ji...@apache.org> on 2011/08/29 21:33:38 UTC

[jira] [Updated] (OWB-562) non-enabled alternative beans with passivating scope fail validation during deployment

     [ https://issues.apache.org/jira/browse/OWB-562?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Struberg updated OWB-562:
------------------------------

    Fix Version/s:     (was: 1.1.1)
                   1.2.0

> 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
>             Fix For: 1.2.0
>
>
> 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