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

Missing validation of passivation capable injectionPoints which resolves to @Dependent producer which return unserializable object

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.3.0.Beta1, 3.0.0.Alpha11
    • 2.2.13.Final, 3.0.0.Alpha10
    • None
    • None

      Wrt to CDI spec section "6.6.5. Validation of passivation capable beans and
      dependencies" there is only passivation capable validation for field injectionPoint. This validation should work also for setter and constructor injection. This is reproducible by TCK test:
      org.jboss.cdi.tck.tests.context.passivating.broken.producer.field.dependent.EnterpriseBeanWithIllegalDependencyTest

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

                Created:
                Updated:
                Resolved: