[jboss-jira] [JBoss JIRA] (WFLY-11587) org.jboss.as.weld has optional dependency on org.jboss.as.security which causes regression

Matej Novotny (Jira) issues at jboss.org
Mon Jan 14 04:10:02 EST 2019


    [ https://issues.jboss.org/browse/WFLY-11587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13681315#comment-13681315 ] 

Matej Novotny commented on WFLY-11587:
--------------------------------------

bq. Adding 'optional="true"' to the module.xml files is not likely the issue. 

Yea, sorry I wasn't thorough in issue description, this alone wasn't the cause indeed.

bq. Matej Novotny https://github.com/wildfly/wildfly/pull/11996 is a likely fix, ...

Yes, I can confirm this fixes the issue. 

> org.jboss.as.weld has optional dependency on org.jboss.as.security which causes regression
> ------------------------------------------------------------------------------------------
>
>                 Key: WFLY-11587
>                 URL: https://issues.jboss.org/browse/WFLY-11587
>             Project: WildFly
>          Issue Type: Bug
>          Components: CDI / Weld, Security
>    Affects Versions: 15.0.1.Final
>            Reporter: Matej Novotny
>            Assignee: Matej Novotny
>            Priority: Major
>             Fix For: 16.0.0.Beta1
>
>
> This is originally reported on forums, see [this|https://developer.jboss.org/thread/279444] link.
> The post contains a nice reproducer (which should be turned into automated test) along with steps to reproduce.
> The original cause is WFLY-11125 where Weld's dependency on {{org.jboss.as.security}} changed from mandatory to optional. This causes failures when using {{@Inject Principal}}.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list