]
Tomaz Cerar commented on WFCORE-313:
------------------------------------
We do have some extra info on OperationDefinition that tells us what are parameters and
what are reply attributes.
And it also know how to handle deprecated attributes.
DefaultOperationDescriptionProvider uses incorrect call to create
reply parameter description
---------------------------------------------------------------------------------------------
Key: WFCORE-313
URL:
https://issues.jboss.org/browse/WFCORE-313
Project: WildFly Core
Issue Type: Bug
Components: Domain Management
Reporter: Brian Stansberry
Fix For: 2.0.0.Beta1
When creating reply descriptions, DefaultOperationDescriptionProvider calls
attributeDescriptionResolver.getOperationParameterDescription instead of
attributeDescriptionResolver.getOperationReplyValueTypeDescription.
A fix needs to not break compatibility for existing users of the incorrect behavior; i.e.
call the correct method in a try block, catch any MissingResourceException, and if caught
call the incorrect method.