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

Beans containing a producerMethod are using the wrong CreationalContext

Bulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersConvert to sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment Visibility
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment