[
https://issues.apache.org/jira/browse/SLING-994?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Carsten Ziegeler updated SLING-994:
-----------------------------------
Affects Version/s: (was: Scripting JSP-Taglib 2.0.4)
Servlets Get 2.0.4
> DefaultGetServlet shoud not use sendError when response is already committed
> ----------------------------------------------------------------------------
>
> Key: SLING-994
> URL: https://issues.apache.org/jira/browse/SLING-994
> Project: Sling
> Issue Type: Bug
> Components: Servlets Get
> Affects Versions: Servlets Get 2.0.4
> Reporter: Carsten Ziegeler
> Assignee: Carsten Ziegeler
> Fix For: Servlets Get 2.0.6
>
>
> If no renderer servlet is found in the DefaultGetServlet, it calls
> sendError(). If this is an included request, sendError usually fails as the
> response is already committed. In this case it's hard to detect the
> underlying problem.
> Therefore I suggest to check if this is an included request and in this case
> throw a ServletException
> I'm not in favour of checking for response isCommitted as this is more
> unpredictable
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.