Uploaded image for project: 'OpenWebBeans'
  1. OpenWebBeans
  2. OWB-725

Beans containing a producerMethod are using the wrong CreationalContext

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.6
    • 1.1.7
    • Context and Scopes
    • None

    Description

      When an @ApplicationScoped Bean containing a producermethod has a @Dependent scoped injection point and produces a @Requestion bean then it will get destroyed with the produced @RequestScoped bean.

      This is actually wrong as it should survive until the end of the application and only then get destroyed!

      Attachments

        1. OWB-725_test.patch
          13 kB
          Mark Struberg

        Activity

          People

            struberg Mark Struberg
            struberg Mark Struberg
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: