cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r496376 - in /cocoon/branches/BRANCH_2_1_X: src/blocks/portal/java/org/apache/cocoon/portal/serialization/IncludingHTMLSerializer.java status.xml
Date Mon, 15 Jan 2007 15:59:55 GMT
Author: cziegeler
Date: Mon Jan 15 07:59:54 2007
New Revision: 496376

URL: http://svn.apache.org/viewvc?view=rev&rev=496376
Log:
Fix truncation of included portlets in html include serializer

Modified:
    cocoon/branches/BRANCH_2_1_X/src/blocks/portal/java/org/apache/cocoon/portal/serialization/IncludingHTMLSerializer.java
    cocoon/branches/BRANCH_2_1_X/status.xml

Modified: cocoon/branches/BRANCH_2_1_X/src/blocks/portal/java/org/apache/cocoon/portal/serialization/IncludingHTMLSerializer.java
URL: http://svn.apache.org/viewvc/cocoon/branches/BRANCH_2_1_X/src/blocks/portal/java/org/apache/cocoon/portal/serialization/IncludingHTMLSerializer.java?view=diff&rev=496376&r1=496375&r2=496376
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/blocks/portal/java/org/apache/cocoon/portal/serialization/IncludingHTMLSerializer.java
(original)
+++ cocoon/branches/BRANCH_2_1_X/src/blocks/portal/java/org/apache/cocoon/portal/serialization/IncludingHTMLSerializer.java
Mon Jan 15 07:59:54 2007
@@ -252,7 +252,8 @@
     protected void writeNextValue() throws IOException {
         final String value = (String)this.orderedValues.removeLast();
         if ( value != null ) {
-            this.stream.write(value.getBytes(this.encoding), 0, value.length());
+            final byte[] o = value.getBytes(this.encoding);
+            this.stream.write(o, 0, o.length);
         }        
     }
 }

Modified: cocoon/branches/BRANCH_2_1_X/status.xml
URL: http://svn.apache.org/viewvc/cocoon/branches/BRANCH_2_1_X/status.xml?view=diff&rev=496376&r1=496375&r2=496376
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/status.xml (original)
+++ cocoon/branches/BRANCH_2_1_X/status.xml Mon Jan 15 07:59:54 2007
@@ -182,6 +182,9 @@
   <changes>
   <release version="2.1.11" date="TBD">
     <action dev="CZ" type="fix">
+      Portal block: Fix truncation of included portlets in html include serializer.
+    </action>
+    <action dev="CZ" type="fix">
       Auth block: Fix checking of double logins for the same security handler.
     </action>
     <action dev="CZ" type="fix" fixes-bug="COCOON-1979" due-to="Rob Berens">



Mime
View raw message