]
Kabir Khan updated WFCORE-653:
------------------------------
Attachment: HttpMgmtPrettyTestCase.java
HttpManagement interface json.pretty=1 fails
--------------------------------------------
Key: WFCORE-653
URL:
https://issues.jboss.org/browse/WFCORE-653
Project: WildFly Core
Issue Type: Bug
Components: Domain Management
Reporter: Kabir Khan
Assignee: Kabir Khan
Fix For: 1.0.0.Beta5
Attachments: HttpMgmtPrettyTestCase.java
*Don't work on this*
(This is a deliberate regression of
https://issues.jboss.org/browse/WFLY-3371 which will
be introduced for a few hours on Tuesday 21st April 2015, so I have something to fix
during a JBug demo)
When attempting to call e.g.
http://localhost:9990/management/subsystem/jmx?json.pretty=1
an IllegalStateException happens. Debugging shows this to happen on the following line of
DomainApiHandler
{code}
operationParameterBuilder.pretty(dmr.hasDefined("json.pretty") &&
dmr.get("json.pretty").asBoolean());
{code}
The dmr access needs to take into account that the parameter is not necessarily a boolen.