Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-1512

@RequestScoped bean destroyed more than once in async servlet request

    XMLWordPrintable

Details

    Description

      Looking at the code it seems that a @RequestScoped bean would be destroyed (@PreDestroy called) more than once in an async servlet request.

      1) Write a test to confirm this
      2) Fix this so that the request context is only invalidated if an async servlet has not been started.

      Attachments

        Activity

          People

            rhn-engineering-jharting Jozef Hartinger
            rhn-engineering-jharting Jozef Hartinger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: