cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgo...@apache.org
Subject svn commit: r106366 - /cocoon/trunk/src/blocks/portal/java/org/apache/cocoon/portal/impl/PortletPortalManager.java
Date Wed, 24 Nov 2004 00:50:47 GMT
Author: rgoers
Date: Tue Nov 23 16:50:45 2004
New Revision: 106366

Modified:
   cocoon/trunk/src/blocks/portal/java/org/apache/cocoon/portal/impl/PortletPortalManager.java
Log:
bug 29556 changed ServletResponseImpl to extend HttpServletResponseWrapper, causing pluto
to directly issue the redirect. The code removed here now causes a null pointer exception
as a result of that.


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=106366&p1=cocoon/trunk/src/blocks/portal/java/org/apache/cocoon/portal/impl/PortletPortalManager.java&r1=106365&p2=cocoon/trunk/src/blocks/portal/java/org/apache/cocoon/portal/impl/PortletPortalManager.java&r2=106366
==============================================================================
--- 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
Tue Nov 23 16:50:45 2004
@@ -62,7 +62,7 @@
  * 
  * @author <a href="mailto:cziegeler@apache.org">Carsten Ziegeler</a>
  * 
- * @version CVS $Id: PortletPortalManager.java,v 1.5 2004/03/05 13:02:13 bdelacretaz Exp
$
+ * @version CVS $Id$
  */
 public class PortletPortalManager
 	extends PortalManagerImpl
@@ -213,10 +213,6 @@
                 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