You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@click.apache.org by "Bob Schellink (JIRA)" <ji...@apache.org> on 2010/03/14 03:44:27 UTC

[jira] Created: (CLK-644) Click does not render ErrorPage if exception occurs redering binary content

Click does not render ErrorPage if exception occurs redering binary content
---------------------------------------------------------------------------

                 Key: CLK-644
                 URL: https://issues.apache.org/jira/browse/CLK-644
             Project: Click
          Issue Type: Bug
          Components: core
    Affects Versions: 2.1.0
            Reporter: Bob Schellink
            Assignee: Bob Schellink
             Fix For: 2.2.0


Binary content such as PDFs are rendered using the response outputStream. Click uses the response writer object. According to the Servlet spec, one cannot swap between a writer and outputStream during the same request.

We need to handle the case where an exception occurs during binary content rendering and still be able to render the ErrorPage.

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


[jira] Resolved: (CLK-644) Click does not render ErrorPage if exception occurs redering binary content

Posted by "Bob Schellink (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLK-644?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bob Schellink resolved CLK-644.
-------------------------------

    Resolution: Fixed

fixed in trunk

> Click does not render ErrorPage if exception occurs redering binary content
> ---------------------------------------------------------------------------
>
>                 Key: CLK-644
>                 URL: https://issues.apache.org/jira/browse/CLK-644
>             Project: Click
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 2.1.0
>            Reporter: Bob Schellink
>            Assignee: Bob Schellink
>             Fix For: 2.2.0
>
>
> Binary content such as PDFs are rendered using the response outputStream. Click uses the response writer object. According to the Servlet spec, one cannot swap between a writer and outputStream during the same request.
> We need to handle the case where an exception occurs during binary content rendering and still be able to render the ErrorPage.

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