]
Brian Stansberry updated WFCORE-489:
------------------------------------
Git Pull Request:
The "access-mechanism" field in the active-operation
resources is always undefined
----------------------------------------------------------------------------------
Key: WFCORE-489
URL:
https://issues.jboss.org/browse/WFCORE-489
Project: WildFly Core
Issue Type: Bug
Components: Domain Management
Affects Versions: 1.0.0.Alpha15
Reporter: Brian Stansberry
Assignee: Brian Stansberry
Priority: Minor
Fix For: 1.0.0.CR1
The "access-mechanism" field in
core-service=management/service=active-operations/active-operation=* is always undefined.
The code that sets it is using the wrong var:
{code}
ModelNode accessMechanismNode = model.get(ACCESS_MECHANISM);
if (accessMechanism != null) {
accessMechanismNode.set(accessMechanismNode.toString());
}
{code}
It should be accessMechanism.toString()