Skip to content

WFCORE-7692 CapabilityServiceBuilderImpl.requiresCapability() produces wrong ServiceName when dynamic capability names contain dots - #6914

Open
rhusar wants to merge 1 commit into
wildfly:mainfrom
rhusar:WFCORE-7692
Open

WFCORE-7692 CapabilityServiceBuilderImpl.requiresCapability() produces wrong ServiceName when dynamic capability names contain dots#6914
rhusar wants to merge 1 commit into
wildfly:mainfrom
rhusar:WFCORE-7692

Conversation

@rhusar

@rhusar rhusar commented Sep 7, 2026

Copy link
Copy Markdown
Member

…s wrong ServiceName when dynamic capability names contain dots

Signed-off-by: Radoslav Husar <rhusar@ibm.com>
@wildfly-ci

Copy link
Copy Markdown

Core -> WildFly Preview Integration Build 346 outcome was FAILURE using a merge of f2129ce
Summary: Tests failed: 1 (1 new), passed: 5551, ignored: 91 Build time: 04:08:18

Failed tests

org.wildfly.test.integration.microprofile.jwt.propagation.JWTIdentityPropagationTestCase(layers-test).testInvokeEJBWithinSingleDeploymentOutflowNotConfigured: java.lang.AssertionError: Call was authenticated: expectedMessage:[targetCallerPrincipal: anonymous, targetIsCallerAdmin: false] returned msg:[hello testUser  hasJWT: true  targetCallerPrincipal: testUser, targetIsCallerAdmin: false  ctx: org.jboss.resteasy.plugins.server.servlet.ServletSecurityContext@611726b3  targetBean context: org.jboss.as.ejb3.context.SessionContextImpl@6907d81]
	at org.wildfly.test.integration.microprofile.jwt.propagation.JWTIdentityPropagationTestCase.testInvokeEJB(JWTIdentityPropagationTestCase.java:323)
	at org.wildfly.test.integration.microprofile.jwt.propagation.JWTIdentityPropagationTestCase.testInvokeEJBWithinSingleDeploymentOutflowNotConfigured(JWTIdentityPropagationTestCase.java:257)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
------- Stdout: -------
 [31m13:18:22,138 ERROR [stderr] (default task-2) java.lang.Throwable: hello testUser  hasJWT: true  targetCallerPrincipal: testUser, targetIsCallerAdmin: false  ctx: org.jboss.resteasy.plugins.server.servlet.ServletSecurityContext@611726b3  targetBean context: org.jboss.as.ejb3.context.SessionContextImpl@6907d81
 [0m [31m13:18:22,139 ERROR [stderr] (default task-2) 	at deployment.no-outflow-config.ear.no-outflow-config-web.war//org.wildfly.test.integration.microprofile.jwt.propagation.BeanEndPoint.helloRolesAllowed(BeanEndPoint.java:50)
 [0m [31m13:18:22,139 ERROR [stderr] (default task-2) 	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
 [0m [31m13:18:22,139 ERROR [stderr] (default task-2) 	at org.jboss.as.ee@42.0.0.Beta1-SNAPSHOT//org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:35)
 [0m [31m13:18:22,139 ERROR [stderr] (default task-2) 	at org.jboss.invocation@2.0.1.Final//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
 [0m [31m13:18:22,139 ERROR [stderr] (default task-2) 	at org.jboss.invocation@2.0.1.Final//org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:509)
 [0m [31m13:18:22,139 ERROR [stderr] (default task-2) 	at org.jboss.as.weld.common@42.0.0.Beta1-SNAPSHOT//org.jboss.as.weld.interceptors.Jsr299BindingsInterceptor.delegateInterception(Jsr299BindingsInterceptor.java:62)
 [0m [31m13:18:22,139 ERROR [stderr] (default task-2) 	at org.jboss.as.weld.common@42.0.0.Beta1-SNAPSHOT//org.jboss.as.weld.interceptors.Jsr299BindingsInterceptor.doMethodInterception(Jsr299BindingsInterceptor.java:72)
 [0m [31m13:18:22,140 ERROR [stderr] (default task-2) 	at org.jboss.as.weld.common@42.0.0.Beta1-SNAPSHOT//org.jboss.as.weld.interceptors.Jsr299BindingsInterceptor.processInvocation(Jsr299BindingsInterceptor.java:85)
 [0m [31m13:18:22,140 ERROR [stderr] (default task-2) 	at org.jboss.as.ee@42.0.0.Beta1-SNAPSHOT//org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:46)
 [0m [31m13:18:22,140 ERROR [stderr] (default task-2) 	at org.jboss.invocation@2.0.1.Final//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
 [0m [31m13:18:22,140 ERROR [stderr] (default task-2) 	at org.jboss.as.ejb3@42.0.0.Beta1-SNAPSHOT//org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:26)
 [0m [31m13:18:22,140 ERROR [stderr] (default task-2) 	at org.jboss.invocation@2.0.1.Final//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
 [0m [31m13:18:22,140 ERROR [stderr] (default task-2) 	at org.jboss.as.jpa@42.0.0.Beta1-SNAPSHOT//org.jboss.as.jpa.interceptor.SBInvocationInterceptor.processInvocation(SBInvocationInterceptor.java:30)
 [0m [31m13:18:22,140 ERROR [stderr] (default task-2) 	at org.jboss.invocation@2.0.1.Final//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
 [0m [31m13:18:22,140 ERROR [stderr] (default task-2) 	at org.wildfly.concurrency@42.0.0.Beta1-SNAPSHOT//org.jboss.as.ee.concurrent.ConcurrentContextInterceptor.processInvocation(ConcurrentContextInterceptor.java:28)
 [0m [31m13:18:22,140 ERROR [stderr] (default task-2) 	at org.jboss.invocation@2.0.1.Final//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
 [0m [31m13:18:22,140 ERROR [stderr] (default task-2) 	at org.jboss.invocation@2.0.1.Final//org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:40)
 [0m [31m13:18:22,140 ERROR [stderr] (default task-2) 	at org.jboss.invocation@2.0.1.Final//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
 [0m [31m13:18:22,140 ERROR [stderr] (default task-2) 	at org.jboss.invocation@2.0.1.Final//org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:53)
 [0m [31m13:18:22,140 ERROR [stderr] (default task-2) 	at org.jboss.as.ee@42.0.0.Beta1-SNAPSHOT//org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:35)
 [0m [31m13:18:22,140 ERROR [stderr] (default task-2) 	at org.jboss.invocation@2.0.1.Final//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
 [0m [31m13:18:22,140 ERROR [stderr] (default task-2) 	at org.jboss.as.ejb3@42.0.0.Beta1-SNAPSHOT//org.jboss.as.ejb3.component.pool.PooledInstanceInterceptor.processInvocation(PooledInstanceInterceptor.java:34)
 [0m [31m13:18:22,141 ERROR [stderr] (default task-2) 	at org.jboss.invocation@2.0.1.Final//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
 [0m [31m13:18:22,141 ERROR [stderr] (default task-2) 	at org.jboss.as.ejb3@42.0.0.Beta1-SNAPSHOT//org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:39)
 [0m [31m13:18:22,141 ERROR [stderr] (default task-2) 	at org.jboss.invocation@2.0.1.Final//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
 [0m [31m13:18:22,141 ERROR [stderr] (default task-2) 	at org.jboss.as.ejb3@42.0.0.Beta1-SNAPSHOT//org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:237)
 [0m [31m13:18:22,141 ERROR [stderr] (default task-2) 	at org.jboss.as.ejb3@42.0.0.Beta1-SNAPSHOT//org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:373)
 [0m [31m13:18:22,141 ERROR [stderr] (default task-2) 	at org.jboss.as.ejb3@42.0.0.Beta1-SNAPSHOT//org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:143)
 [0m [31m13:18:22,141 ERROR [stderr] (default task-2) 	at org.jboss.invocation@2.0.1.Final//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
 [0m [31m13:18:22,141 ERROR [stderr] (default task-2) 	at org.jboss.invocation@2.0.1.Final//org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:509)
 [0m [31m13:18:22,141 ERROR [stderr] (default task-2) 	at org.jboss.weld.core@6.0.4.Final//org.jboss.weld.module.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:78)
 [0m [31m13:18:22,141 ERROR [stderr] (default task-2) 	at org.jboss.as.weld.common@42.0.0.Beta1-SNAPSHOT//org.jboss.as.weld.ejb.EjbRequestScopeActivationInterceptor.processInvocation(EjbRequestScopeActivationInterceptor.java:72)
 [0m [31m13:18:22,141 ERROR [stderr] (default task-2) 	at org.jboss.invocation@2.0.1.Final//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
 [0m [31m13:18:22,141 ERROR [stderr] (default task-2) 	at org.jboss.as.ejb3@42.0.0.Beta1-SNAPSHOT//org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:24)


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants