The following issue has been updated:
Updater: Ate Douma (mailto:[EMAIL PROTECTED])
Date: Wed, 7 Apr 2004 7:11 AM
Changes:
Attachment changed to JS2-7-patch.txt
---------------------------------------------------------------------
For a full history of the issue, see:
http://issues.apache.org/jira/browse/JS2-7?page=history
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/JS2-7
Here is an overview of the issue:
---------------------------------------------------------------------
Key: JS2-7
Summary: o.a.j.aggregator.impl.HttpBufferedResponse.getOutputStream() wraps the
wrong writer
Type: Bug
Status: Unassigned
Priority: Major
Project: Jetspeed 2
Versions:
2.0-dev/cvs
Assignee:
Reporter: Ate Douma
Created: Wed, 7 Apr 2004 7:10 AM
Updated: Wed, 7 Apr 2004 7:11 AM
Environment: WindowsXP, J2SE1.4.2_03, Tomcat 4.1.29
Description:
getOutputStream() wraps the wrapped ServletResponse.getWriter() instead of its own
writer.
Effect: when a portlet includes a resource fully handled by the application server
(like an html page) AND no output has been written by the portlet itself yet using
RenderResponse.getWriter() the output isn't cached before the page rendering is
complete but put out by the application server (Tomcat) immediately with as result a
mixed up page layout.
Fix.
Replace:
wrappedStream = new
PrintWriterServletOutputStream(getResponse().getWriter());
with:
wrappedStream = new PrintWriterServletOutputStream(writer);
(I will attach a patch file in a minute)
Ate
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]