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

Servlets registered with selectors and methods are not found

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Servlets Resolver 2.0.6
    • Servlets Resolver 2.0.6
    • Servlets
    • None

    Description

      After the implementation of SLING-748, servlets registered with selectors and with method names are not resolved any more.

      A Servlet is registered as a resource at a path derieved from the selectors with the method name appended. For example a servlet registered with selectors "sample.selector" and method "POST" is registered as "..../sample/selector.POST.servlet"

      The new servlet resolver does not check for the "selector.POST" pattern of script names and hence misses servlets thus registered.

      Attachments

        Activity

          People

            fmeschbe Felix Meschberger
            fmeschbe Felix Meschberger
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: