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

ChildResourceViaProvider should be able to deal with SlingHttpServletRequest

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Models Impl 1.4.6
    • Models Impl 1.4.8
    • Extensions
    • None

    Description

      The ForcedResourceType and ResourceSuperType are able to deal with Sling requests by creating a wrapper request that returns a wrapped Request.

      Still, the ChildResourceViaProvider does not offer such possibility. I think that for sake of consistency it should.

      I propose that if the adaptable is a SlingHttpServletRequest the ChildResourceViaProvider should create a request wrapper that returns the child as given in 'value'

      Attachments

        Issue Links

          Activity

            People

              justinedelson Justin Edelson
              santiagozky Santiago GarcĂ­a Pimentel
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: