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

RequestData.toSlingHttpServletResponse does not wrap HttpServletResponse

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Engine 2.0.2
    • Fix Version/s: Engine 2.0.4
    • Component/s: None
    • Labels:
      None

      Description

      The RequestData.toSlingHttpServletResponse method is intended to create a SlingHttpServletResponse wrapper for a non-SlingHttpServletResponse object delegating to wrapped SlingHttpServletResponse. In other words, RequestData.toSlingHttpServletResponse should do to the response, what the RequestData.toSlingHttpServletRequest does to the request. But it doesn't.

      This is most probably the cause for the problem reported by Jukka Zitting in [1].

      [1] http://markmail.org/message/fphyjdeb2oecjqdn

        Attachments

          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: