Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-3678

The ServletBootstrap.getParameter() checks the parameter values backwards

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 6.2.15.Final, 7.0.1.Final
    • None
    • Core
    • None

      The org.jboss.resteasy.plugins.server.servlet.ServletBootstrap.getParameter() implements the org.jboss.resteasy.spi.ResteasyConfiguration interface. The getParameter() method on the interface has some minimal JavaDoc that states:

      /**
       * i.e. Servlet init-param first is searched, then servlet context.
       *
       * @param name parameter name
       * @return parameter value
       */
      

      The implementation first checks the ServletContext, then the other configurations. This needs to happen in the other order.

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

                Created:
                Updated:
                Resolved: