Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-653

HttpManagement interface json.pretty=1 fails

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 1.0.0.Beta5
    • None
    • Management
    • None

    Description

      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

      operationParameterBuilder.pretty(dmr.hasDefined("json.pretty") && dmr.get("json.pretty").asBoolean());
      

      The dmr access needs to take into account that the parameter is not necessarily a boolen.

      Attachments

        Activity

          People

            kkhan1@redhat.com Kabir Khan
            kkhan1@redhat.com Kabir Khan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: