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

HttpSessionContext#destroy(Contextual<?>) should always destroy the underlying contextual instance

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 3.1.4.Final
    • 3.1.3.Final
    • Scopes & Contexts
    • None

    Description

      Currently, it's only destroyed if the bean is previously used in the request. It's very likely caused by the "attributes lazy fetching" optimization: org.jboss.weld.context.attributes.lazyFetch. See https://github.com/eclipse-ee4j/cdi/issues/427 for more information.

      Attachments

        Activity

          People

            mkouba@redhat.com Martin Kouba
            mkouba@redhat.com Martin Kouba
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: