You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Adrian Crum (JIRA)" <ji...@apache.org> on 2009/08/03 18:49:14 UTC

[jira] Closed: (OFBIZ-2781) Screen widget view handler does not properly flush wrapping writers

     [ https://issues.apache.org/jira/browse/OFBIZ-2781?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adrian Crum closed OFBIZ-2781.
------------------------------

    Resolution: Fixed

Thanks Bob!

Fixed trunk rev 800461, R9.04 rev 800463.


> Screen widget view handler does not properly flush wrapping writers
> -------------------------------------------------------------------
>
>                 Key: OFBIZ-2781
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2781
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Bob Morley
>            Assignee: Adrian Crum
>         Attachments: writerflush.diff
>
>
> Ran into a situation when we activated html compression on our QA server where the page would not get fully rendered to the browser.  It appears the problem is that when Html compression is returned on (or whenever not using the response's writer) there is a writer that wraps the response's writer.  If this outer writer is not explicitly flushed, you can run into the situation where its content has not been properly written to the response.
> The simple solution is to explicitly flush the writer after the screen has been rendered.  Attaching the one line fix patch file ...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.