cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r306776 - in /cocoon/branches/BRANCH_2_1_X/src/blocks/portal/java/org/apache/cocoon/portal/pluto: servlet/ServletRequestImpl.java test/TestPortlet.java
Date Thu, 06 Oct 2005 15:37:59 GMT
Author: cziegeler
Date: Thu Oct  6 08:37:50 2005
New Revision: 306776

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

Modified:
    cocoon/branches/BRANCH_2_1_X/src/blocks/portal/java/org/apache/cocoon/portal/pluto/servlet/ServletRequestImpl.java
    cocoon/branches/BRANCH_2_1_X/src/blocks/portal/java/org/apache/cocoon/portal/pluto/test/TestPortlet.java

Modified: cocoon/branches/BRANCH_2_1_X/src/blocks/portal/java/org/apache/cocoon/portal/pluto/servlet/ServletRequestImpl.java
URL: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/src/blocks/portal/java/org/apache/cocoon/portal/pluto/servlet/ServletRequestImpl.java?rev=306776&r1=306775&r2=306776&view=diff
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/blocks/portal/java/org/apache/cocoon/portal/pluto/servlet/ServletRequestImpl.java
(original)
+++ cocoon/branches/BRANCH_2_1_X/src/blocks/portal/java/org/apache/cocoon/portal/pluto/servlet/ServletRequestImpl.java
Thu Oct  6 08:37:50 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/branches/BRANCH_2_1_X/src/blocks/portal/java/org/apache/cocoon/portal/pluto/test/TestPortlet.java
URL: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/src/blocks/portal/java/org/apache/cocoon/portal/pluto/test/TestPortlet.java?rev=306776&r1=306775&r2=306776&view=diff
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/blocks/portal/java/org/apache/cocoon/portal/pluto/test/TestPortlet.java
(original)
+++ cocoon/branches/BRANCH_2_1_X/src/blocks/portal/java/org/apache/cocoon/portal/pluto/test/TestPortlet.java
Thu Oct  6 08:37:50 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