You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by cz...@apache.org on 2007/01/15 16:59:55 UTC
svn commit: r496376 - in /cocoon/branches/BRANCH_2_1_X:
src/blocks/portal/java/org/apache/cocoon/portal/serialization/IncludingHTMLSerializer.java
status.xml
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">