OpenWebBeans
  1. OpenWebBeans
  2. OWB-562

non-enabled alternative beans with passivating scope fail validation during deployment

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.0
    • Fix Version/s: 1.1.2
    • Component/s: Context and Scopes
    • Labels:
      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.

        Activity

        Hide
        Mark Struberg added a comment -

        shipped in OpenWebBeans-1.1.2

        Show
        Mark Struberg added a comment - shipped in OpenWebBeans-1.1.2
        Hide
        Mark Struberg added a comment -

        resolved while fixing OWB-620

        Show
        Mark Struberg added a comment - resolved while fixing OWB-620

          People

          • Assignee:
            Mark Struberg
            Reporter:
            George Sapountzis
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development