[jboss-jira] [JBoss JIRA] (WFCORE-1921) Problem with capability-reference to resource whose name is number with ZERO(s) prefix.
Brian Stansberry (JIRA)
issues at jboss.org
Wed Nov 2 10:03:01 EDT 2016
[ https://issues.jboss.org/browse/WFCORE-1921?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Stansberry reassigned WFCORE-1921:
----------------------------------------
Component/s: Domain Management
(was: CLI)
Assignee: Tomaz Cerar (was: Jean-Francois Denise)
I'm changing the component as the reproducer steps show nothing related to the client. [~ctomc], please correct the component and assignee on the linked JBEAP as well. The fact that datasources also show a problem leads me to pick Domain Management instead of the security subsystem component.
BTW, in the reproducer steps "/subsystem=elytron/aggregate-role-mapper001=aggregateRoleMapper" looks like a typo, with the 001 in the address element key rather than the value. I assume the problem is still reproducible with that corrected though, as the failure message is unrelated to a bad resource address and the datasource example also given doesn't have that problem.
> Problem with capability-reference to resource whose name is number with ZERO(s) prefix.
> ---------------------------------------------------------------------------------------
>
> Key: WFCORE-1921
> URL: https://issues.jboss.org/browse/WFCORE-1921
> Project: WildFly Core
> Issue Type: Bug
> Components: Domain Management
> Reporter: Hynek Švábek
> Assignee: Tomaz Cerar
>
> Problem with resources which name contains only NUMBERS.
> Particularly the number which beginning with ZERO(s).
> *Scenario*
> * I have resources which name contains only numbers with ZERO(s) prefix
> * I want set capability-reference to it
> * e.g. /subsystem=elytron/aggregate-role-mapper001=aggregateRoleMapper:add(role-mappers=[001,111])
> *Actual result*
> {code}
> {
> "outcome" => "failed",
> "failure-description" => "WFLYCTL0369: Required capabilities are not available:
> org.wildfly.security.role-mapper.1; There are no known registration points which can provide this capability.",
> "rolled-back" => true
> }
> {code}
> *Expected result*
> {code}
> Success
> {code}
> *NOTE*
> In my opinion is this global problem.
> I tried it with another subsystem and problem is there too.
> {code}
> /subsystem=datasources/data-source=001:add(connection-url="url", jndi-name="java:jboss/datasources/001", driver-name=h2)
> /subsystem=infinispan/cache-container=server/local-cache=default/store=string-jdbc:add(data-source=001)
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jboss-jira
mailing list