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

ChildResourceViaProvider should be able to deal with SlingHttpServletRequest

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Sling Models Impl 1.4.6
    • Fix Version/s: Sling Models Impl 1.4.8
    • Component/s: Extensions
    • Labels:
      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

          Activity

            People

            • Assignee:
              justinedelson Justin Edelson
              Reporter:
              santiagozky Santiago GarcĂ­a Pimentel

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment