You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Jonathan Gallimore (Jira)" <ji...@apache.org> on 2025/01/29 10:46:00 UTC

[jira] [Created] (OWB-1448) Alternatives specified on @Cdi do not appear to be activated

Jonathan Gallimore created OWB-1448:
---------------------------------------

             Summary: Alternatives specified on @Cdi do not appear to be activated
                 Key: OWB-1448
                 URL: https://issues.apache.org/jira/browse/OWB-1448
             Project: OpenWebBeans
          Issue Type: Bug
    Affects Versions: 4.0.2, 2.0.26
            Reporter: Jonathan Gallimore


When specifying an Alternative bean using the alternatives attribute on the `@Cdi` annotation in a unit test, the Alternative does not seem to be selected for use.

The CdiExtension does add the relevant details to the BeanArchiveInformation, but this does not get propagated to the BeansDeployer.

PRs for main and 2.0.x to follow shortly.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)