Uploaded image for project: 'Jetspeed 2 (Retired)'
  1. Jetspeed 2 (Retired)
  2. JS2-1222

Nested Portlet servlet include dispatch is failing for a ResourceRequest on Websphere 6.1.0.23 when targeting a filter (like WicketFilter)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.2.1
    • 2.2.2
    • Admin Portlets
    • None

    Description

      The problem is caused by incorrect order of retrieving a request attribute within a Portlet dispatched servlet.
      First the PortletRequest (cached) attributes needs to be evaluated before delegating to the web container.
      This is needed as the web container itself might have already set the attribute value before which only is stored in the PortletRequest attribute cache (within the PortletWindow).
      In particular this failed when using a ResourceRequest which is from the portal forwarded to the portlet.
      If that portlet subsequently dispatched again using an include, Websphere still saw the initial dispatcher type (forward) instead of the current type (include), causing it to fail finding the appropriate filter.

      Fixing this required changes to both the pluto-container (see: PLUTO-598) as well as the jetspeed-portal artifacts.

      Attachments

        Activity

          People

            ate Ate Douma
            firevelocity Vivek Kumar
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: