WFCORE-2687, the AbstractOperationContext#getCurrentOperationName() was implemented and returns the "name" field of the operation model node.
This is not correct. In our DMR representation of an operation, the name of the operation is held by org.jboss.as.controller.descriptions.ModelDescriptionConstants#OP ("operation").
The current implementation of getCurrentOperationName() returns the value of an eventual "name" parameter of the operation which is not the intent of the method.
We should check usage of org.jboss.as.controller.OperationContext#getCurrentOperationName in WildFly Core and Full and make sure to fix them as we fix the implementation in AbstractOperationContext#getCurrentOperationName()