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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Nicolas Malin (Jira)
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
         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.

Reply | Threaded
Open this post in threaded view
|

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

Nicolas Malin (Jira)

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

Bob Morley updated OFBIZ-2781:
------------------------------

    Attachment: writerflush.diff

> 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
>         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.

Reply | Threaded
Open this post in threaded view
|

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

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

Adrian Crum reassigned OFBIZ-2781:
----------------------------------

    Assignee: Adrian Crum

> 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.

Reply | Threaded
Open this post in threaded view
|

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

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ 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.