Uploaded image for project: 'Jetspeed 2'
  1. Jetspeed 2
  2. JS2-767

Portlet Action not working when using JetspeedPowerTool

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.2
    • Fix Version/s: 2.1.3
    • Component/s: None
    • Labels:
      None

      Description

      When a portlet is included in a decorator using $jetspeed.renderPortletEntity, the action urls generated by this portlet doesn't work.

      This bug is due to the following code in class org.apache.jetspeed.container.ContainerValve :

      public void invoke(RequestContext request, ValveContext context) throws PipelineException
      {
      ...
      window = state.getPortletWindowOfAction();
      if (window != null && page.getFragmentById(window.getId().toString()) == null)

      { // target window doesn't exists anymore or the target page is not accessible (anymore) // remove any navigational state for the window state.removeState(window); // as this is an action request which cannot be handled, perform a direct redirect after sync state (for the other windows) redirect = true; }

      ...
      }

      Indeed, in this case, the valve should not perform a redirect because even if the portlet is not in the page (but in the decorator), the action have to be performed.

        Attachments

          Activity

            People

            • Assignee:
              taylor David Sean Taylor
              Reporter:
              nicolas.dutertry Nicolas Dutertry
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: