Uploaded image for project: 'Click'
  1. Click
  2. CLK-644

Click does not render ErrorPage if exception occurs redering binary content

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.1.0
    • 2.2.0
    • core
    • None

    Description

      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.

      Attachments

        Activity

          People

            sabob Bob Schellink
            sabob Bob Schellink
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: