incubator-jspwiki-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Florian Holeczek (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (JSPWIKI-146) Client cancels download, I/O exception at AttachmentServlet makes server throw a IllegalStateException
Date Sat, 10 Sep 2011 23:23:09 GMT

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

Florian Holeczek closed JSPWIKI-146.
------------------------------------


> Client cancels download, I/O exception at AttachmentServlet makes server throw a IllegalStateException
> ------------------------------------------------------------------------------------------------------
>
>                 Key: JSPWIKI-146
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-146
>             Project: JSPWiki
>          Issue Type: Improvement
>          Components: Core & storage
>    Affects Versions: 2.6.0
>         Environment: Jetty 6.1.5
> Sun JDK  1.6u3
> Solaris x86
> JSPWiki 2.4.102
>            Reporter: Claudio Miranda
>            Assignee: Janne Jalkanen
>            Priority: Minor
>             Fix For: 2.6.1
>
>
> At com.ecyrd.jspwiki.attachment.AttachmentServlet, when client drops download, there
is a IllegalStateException at server log files, cause by res.sendError( HttpServletResponse.SC_INTERNAL_SERVER_ERROR,
msg );
> I understand that as some IOException happened, there is no possible way to determine
what caused the IOE, and as this is a simple download, I ask if is necessary to throw a internal
server error to the web server, instead to simple logging it
> 2.4.102: line 342
> 2.6.0: line 368
> I report this against 2.6.0, but use 2.4.102, because I see the same code is at both
versions.
> See a more detailed discussion at mailing list.
> reference: http://www.nabble.com/Cancel-attachment-download-throws-a-exception-td13948784.html#a13948784

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message