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. |
[ 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. |
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. |
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. |
Free forum by Nabble | Edit this page |