cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ralph Goers <Ralph.Go...@dslextreme.com>
Subject Re: svn commit: r123405 - /cocoon/trunk/src/blocks/portal/java/org/apache/cocoon/portal/impl/PortletPortalManager.java
Date Mon, 27 Dec 2004 15:51:16 GMT
Carsten,
Please revert this.  It was specifically removed from trunk as it causes 
a null pointer exception.  The redirect is handled by Pluto in trunk.  
See http://issues.apache.org/bugzilla/show_bug.cgi?id=32157 for an 
explanation.

Ralph

cziegeler@apache.org wrote:

>Author: cziegeler
>Date: Mon Dec 27 05:37:40 2004
>New Revision: 123405
>
>URL: http://svn.apache.org/viewcvs?view=rev&rev=123405
>Log:
>Sync with 2.1.x - I guess someone forgot to add it to trunk as well?
>Modified:
>   cocoon/trunk/src/blocks/portal/java/org/apache/cocoon/portal/impl/PortletPortalManager.java
>
>Modified: cocoon/trunk/src/blocks/portal/java/org/apache/cocoon/portal/impl/PortletPortalManager.java
>Url: http://svn.apache.org/viewcvs/cocoon/trunk/src/blocks/portal/java/org/apache/cocoon/portal/impl/PortletPortalManager.java?view=diff&rev=123405&p1=cocoon/trunk/src/blocks/portal/java/org/apache/cocoon/portal/impl/PortletPortalManager.java&r1=123404&p2=cocoon/trunk/src/blocks/portal/java/org/apache/cocoon/portal/impl/PortletPortalManager.java&r2=123405
>==============================================================================
>--- cocoon/trunk/src/blocks/portal/java/org/apache/cocoon/portal/impl/PortletPortalManager.java
(original)
>+++ cocoon/trunk/src/blocks/portal/java/org/apache/cocoon/portal/impl/PortletPortalManager.java
Mon Dec 27 05:37:40 2004
>@@ -225,6 +225,10 @@
>                 final ServletRequestImpl req = (ServletRequestImpl) objectModel.get("portlet-request");
>                 final ServletResponseImpl res= (ServletResponseImpl)objectModel.get("portlet-response");
>                 this.portletContainer.processPortletAction(actionWindow, req.getRequest(actionWindow),
res);
>+
>+                final String redirectURL = res.getRedirectURL();
>+                HttpServletResponse response = (HttpServletResponse) objectModel.get(HttpEnvironment.HTTP_RESPONSE_OBJECT);
>+                response.sendRedirect(redirectURL);
>             } catch (Exception ignore) {
>                 this.getLogger().error("Error during processing of portlet action.",
ignore);
>             }
>  
>


Mime
View raw message