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

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

XMLWordPrintable

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

      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.

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

                Created:
                Updated:
                Resolved: