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:51:00 UTC
[jira] [Commented] (OWB-1448) Alternatives specified on @Cdi do not appear to be activated
[ https://issues.apache.org/jira/browse/OWB-1448?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17922057#comment-17922057 ]
Jonathan Gallimore commented on OWB-1448:
-----------------------------------------
PR for main: [https://github.com/apache/openwebbeans/pull/126]
PR for 2.0.x: [https://github.com/apache/openwebbeans/pull/127]
> 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: 2.0.26, 4.0.2
> Reporter: Jonathan Gallimore
> Priority: Major
>
> 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)