cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r306778 - in /cocoon/blocks/portal/trunk/java/org/apache/cocoon/portal/pluto: servlet/ServletRequestImpl.java test/TestPortlet.java
Date Thu, 06 Oct 2005 15:45:31 GMT
Author: cziegeler
Date: Thu Oct  6 08:45:23 2005
New Revision: 306778

URL: http://svn.apache.org/viewcvs?rev=306778&view=rev
Log:
Fix parameter handling bug

Modified:
    cocoon/blocks/portal/trunk/java/org/apache/cocoon/portal/pluto/servlet/ServletRequestImpl.java
    cocoon/blocks/portal/trunk/java/org/apache/cocoon/portal/pluto/test/TestPortlet.java

Modified: cocoon/blocks/portal/trunk/java/org/apache/cocoon/portal/pluto/servlet/ServletRequestImpl.java
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal/trunk/java/org/apache/cocoon/portal/pluto/servlet/ServletRequestImpl.java?rev=306778&r1=306777&r2=306778&view=diff
==============================================================================
--- cocoon/blocks/portal/trunk/java/org/apache/cocoon/portal/pluto/servlet/ServletRequestImpl.java
(original)
+++ cocoon/blocks/portal/trunk/java/org/apache/cocoon/portal/pluto/servlet/ServletRequestImpl.java
Thu Oct  6 08:45:23 2005
@@ -131,7 +131,7 @@
                 }
 
                 // get request params if the wrapped request is not the Cocoon request
-                if ( currentRequest != this.originalRequest ) {
+                if ( currentRequest == this.originalRequest ) {
                     Enumeration parameters = currentRequest.getParameterNames();
                     while (parameters.hasMoreElements()) {
                         String paramName = (String) parameters.nextElement();

Modified: cocoon/blocks/portal/trunk/java/org/apache/cocoon/portal/pluto/test/TestPortlet.java
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal/trunk/java/org/apache/cocoon/portal/pluto/test/TestPortlet.java?rev=306778&r1=306777&r2=306778&view=diff
==============================================================================
--- cocoon/blocks/portal/trunk/java/org/apache/cocoon/portal/pluto/test/TestPortlet.java (original)
+++ cocoon/blocks/portal/trunk/java/org/apache/cocoon/portal/pluto/test/TestPortlet.java Thu
Oct  6 08:45:23 2005
@@ -67,7 +67,7 @@
         if (key != null && value != null) {
             prefs.setValue(key, value);
             try {
-              prefs.store();
+                prefs.store();
             } catch (Exception e) {
                 e.printStackTrace();
             }



Mime
View raw message