[jboss-jira] [JBoss JIRA] (WFCORE-560) Incorrect wildcard handling in OperationContextImpl.getAuthorizationResource(PathAddress address)
Brian Stansberry (JIRA)
issues at jboss.org
Thu Feb 19 16:37:49 EST 2015
Brian Stansberry created WFCORE-560:
---------------------------------------
Summary: 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
Assignee: 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.3.11#6341)
More information about the jboss-jira
mailing list