You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Antonio Sanso (JIRA)" <ji...@apache.org> on 2011/07/28 14:23:09 UTC

[jira] [Issue Comment Edited] (SLING-2156) Provide error handling for POST operations

    [ https://issues.apache.org/jira/browse/SLING-2156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13072315#comment-13072315 ] 

Antonio Sanso edited comment on SLING-2156 at 7/28/11 12:22 PM:
----------------------------------------------------------------

the issue itself aka SLING-1974 nothing (as said in my comment - "Nor that the issues are really related ") but in the discussion thread there is a mention about a possible filter that helps to decide with response to provide.

I guess I have tackled the problem too widely... :S 

      was (Author: asanso):
    the issue itself aka SLING-1974 nothing (as said in my comment - "Nor that the issues are really related ") but in the discussion thread there is a mention about a possible filter that helps to decide with response to provide.

I guess I have tackled the problem to widely... :S 
  
> Provide error handling for POST operations
> ------------------------------------------
>
>                 Key: SLING-2156
>                 URL: https://issues.apache.org/jira/browse/SLING-2156
>             Project: Sling
>          Issue Type: New Feature
>          Components: Servlets
>            Reporter: Antonio Sanso
>
> The error handling mechanism described here [0] doesn't seem to apply also to POST operations.
> If an error occurs while posting a resource to repository (e.g. avax.jcr.nodetype.ConstraintViolationException: no matching property definition found for) the HtmlResponse.html template is rendered.
> This  can also represent a security issue since information as REFERRER/technology stack are shown.
> IMHO this page should be at least configurable (if the mechanism in [0] doesn't suite here).
> [0] http://sling.apache.org/site/errorhandling.html

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