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

Merge default GET Servlets into a single one

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3
    • Component/s: None
    • Labels:
      None

      Description

      Implementing SLING-387 causes a new script/servlet resolution order whereas the default servlets are handled as if they would be servlets for a resource super type of the resource type of the request resource. As such it may happen that for example a default script registered to handle GET/html requests would selected instead of a script defined for the resource type.

      To fix this issue, all regular default GET servlets for html, txt and json are to be merged into a single default servlet registered for the GET method. The actual renderes are still separate classes but the new default servlet arbitrates amongst the renderers itself.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: