You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-scm@portals.apache.org by at...@apache.org on 2010/05/26 23:04:16 UTC
svn commit: r948592 -
/portals/pluto/trunk/pluto-container/src/main/java/org/apache/pluto/container/impl/HttpServletPortletRequestWrapper.java
Author: ate
Date: Wed May 26 21:04:15 2010
New Revision: 948592
URL: http://svn.apache.org/viewvc?rev=948592&view=rev
Log:
PLUTO-590: rolling back previous fix which caused Portlet 2.0 TCK test failures.
I'll investigate this issue further and will try to come up with a solution which passes the Portlet TCK.
Modified:
portals/pluto/trunk/pluto-container/src/main/java/org/apache/pluto/container/impl/HttpServletPortletRequestWrapper.java
Modified: portals/pluto/trunk/pluto-container/src/main/java/org/apache/pluto/container/impl/HttpServletPortletRequestWrapper.java
URL: http://svn.apache.org/viewvc/portals/pluto/trunk/pluto-container/src/main/java/org/apache/pluto/container/impl/HttpServletPortletRequestWrapper.java?rev=948592&r1=948591&r2=948592&view=diff
==============================================================================
--- portals/pluto/trunk/pluto-container/src/main/java/org/apache/pluto/container/impl/HttpServletPortletRequestWrapper.java (original)
+++ portals/pluto/trunk/pluto-container/src/main/java/org/apache/pluto/container/impl/HttpServletPortletRequestWrapper.java Wed May 26 21:04:15 2010
@@ -976,7 +976,10 @@ public class HttpServletPortletRequestWr
@Override
public String getContextPath()
{
- return portletRequest.getContextPath();
+ // synchronize the derived path state values first
+ updateRequestPathState();
+ // return the derived path method value
+ return pathMethodValues.contextPath;
}
@Override