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

Enabling alternatives does not work if weld-se archive isolation is enabled

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Rejected
    • Affects Version/s: 3.1.3.Final
    • Fix Version/s: None
    • Component/s: Java SE Support
    • Labels:
      None

      Description

      If you unzip the attached project and run the tests, you see that the isolation true / alternative true test fails.

      If I enable the alternative bean, I'd expect it to get injected, even though it is injected into a different bean archive, without the need to disable the archive isolation just like with normal beans that are no alternatives.

      Please excuse me if I missed some point that explains this in the CDI spec, but I didn't find some related definitions.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                mkouba Martin Kouba
                Reporter:
                vampire Björn Kautler
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: