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

Akanksha Jain commented on SLING-9991:
--------------------------------------

Hi Both,
I was dealing with the scenario where a custom error page needs to be displayed 
during post Request if auth is not given correctly.

After applying ":sendError: true"(through postman), I was able to get the error 
page correctly.

Since the feature was there from years as per commit history, i did not go 
beyond and check all possible scenarios.

In the future to prevent such a scenario, I will study 
[https://github.com/apache/sling-org-apache-sling-launchpad-integration-tests] 
module thoroughly.

If there are any other suggestions please let me know.

> Parameter ":sendError"  uses/significance should be listed in the sling 
> document
> --------------------------------------------------------------------------------
>
>                 Key: SLING-9991
>                 URL: https://issues.apache.org/jira/browse/SLING-9991
>             Project: Sling
>          Issue Type: Improvement
>            Reporter: Akanksha Jain
>            Assignee: Carsten Ziegeler
>            Priority: Minor
>
> The parameter ":sendError" is used by the sling error handler to delegate 
> HTTP Post response to the custom error handler.
> This Parameter should be listed in the document[0], along with other special 
> parameters for better understanding.
> [0]: 
> https://sling.apache.org/documentation/bundles/manipulating-content-the-slingpostservlet-servlets-post.html#special-parameters-1



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to