[jboss-jira] [JBoss JIRA] (WFCORE-560) Incorrect wildcard handling in OperationContextImpl.getAuthorizationResource(PathAddress address)
Brian Stansberry (JIRA)
issues at jboss.org
Wed Nov 18 15:59:00 EST 2015
[ https://issues.jboss.org/browse/WFCORE-560?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Stansberry reassigned WFCORE-560:
---------------------------------------
Assignee: (was: Brian Stansberry)
> Incorrect wildcard handling in OperationContextImpl.getAuthorizationResource(PathAddress address)
> -------------------------------------------------------------------------------------------------
>
> Key: WFCORE-560
> URL: https://issues.jboss.org/browse/WFCORE-560
> Project: WildFly Core
> Issue Type: Bug
> Components: Domain Management
> Affects Versions: 1.0.0.Alpha18
> Reporter: Brian Stansberry
>
> Problem is 2nd and 3rd lines here:
> {code}
> if (element.isWildcard()) {
> model = Resource.Factory.create();
> final Set<Resource.ResourceEntry> children = model.getChildren(element.getKey());
> for (final Resource.ResourceEntry entry : children) {
> model.registerChild(entry.getPathElement(), entry);
> }
> } else {
> {code}
> Problem is "model" will have no children because it was just reassigned to a new Resource. The lines need to be swapped.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list