portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject [jira] Assigned: (JS2-7) o.a.j.aggregator.impl.HttpBufferedResponse.getOutputStream() wraps the wrong writer
Date Sun, 11 Apr 2004 04:17:45 GMT
Message:

   The following issue has been re-assigned.

   Assignee: David Sean Taylor (mailto:taylor@apache.org)
---------------------------------------------------------------------
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: Open
   Priority: Major

    Project: Jetspeed 2
   Versions:
             2.0-dev/cvs

   Assignee: David Sean Taylor
   Reporter: Ate Douma

    Created: Wed, 7 Apr 2004 7:10 AM
    Updated: Sat, 10 Apr 2004 9:17 PM
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: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message