Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-10340

The ScriptResource should unwrap the active resource before adapting it to a Servlet

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Servlets Resolver 2.7.0
    • Servlets Resolver 2.7.14
    • Servlets
    • None

    Description

      In SLING-9365 the Servlet Resolver was enhanced to not mount the resource providers for the bound servlets, with the benefit of way faster startups for systems with a large number of servlets.

      However, when the ScriptResource has to be adapted to a Servlet, the active resource should be checked if it's either a ServletResource or a wrapped ServletResource to obtain its servlet. Otherwise the normal SlingAdaptable behaviour should be used.

      Attachments

        Issue Links

          Activity

            People

              radu Radu Cotescu
              radu Radu Cotescu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: