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

Error in description of priority attribute in filter-ref attributes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 14.0.0.Final
    • None
    • Web (Undertow)
    • None

      The documentation for the `undertow.filter-ref.priority` for the Undertow subsystem [1] suggests a filter with a higher number (e.g. 2) is executed before a filter with a lower number (e.g. 1). It appears to be the opposite.

      "Defines filter order. It should be set to 1 or more. A higher number instructs the server to be included earlier in the handler chain than others under the same context."

      This description is taken directly from the WildFly reference model, which is incorrect.

      See discussions in JBEAP-15189,

      [1] https://access.redhat.com/documentation/en-us/red_hat_jboss_enterprise_application_platform/7.1/html-single/configuration_guide/#location_filter_ref
      [2] https://github.com/wildfly/wildfly/blob/master/undertow/src/main/resources/org/wildfly/extension/undertow/LocalDescriptions.properties#L380

              sgilda_jira Sande Gilda (Inactive)
              sgilda_jira Sande Gilda (Inactive)
              Adam Krajcik Adam Krajcik
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: