Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-5893

Standard way of checking if the request controller is available for extension usage is incorrect

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 10.0.0.CR5
    • None
    • Batch, EE
    • None

      Both batch and EE check if the resource controller is present by checking the model context.getOriginalRootResource().hasChild(PathElement.pathElement(ModelDescriptionConstants.SUBSYSTEM, RequestControllerExtension.SUBSYSTEM_NAME));. It should context.readResourceFromRoot(PathAddress.EMPTY_ADDRESS) or better yet use the provided capability.

              jperkins-rhn James Perkins
              jperkins-rhn James Perkins
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: