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

Eric Norman edited comment on SLING-9991 at 12/15/20, 6:13 PM:
---------------------------------------------------------------

[~cziegeler] Ok, I opened SLING-10006 for tracking.  I was just expecting that 
it would be better to add to the public documentation after the feature was 
known to be working.  There don't appear to be any tests to verify this 
functionality and it doesn't appear to work even in the happy path.  For 
example, reporting a success from the PostResponseWithErrorHandling code path 
seems to currently throw a NullPointerException as it can't find the html 
templates from a class in the "impl" package.
{code:java}
curl -i -F:sendError="true" -F:nameHint="test" -Ftext="some body text content" 
http://admin:admin@localhost:8080/content{code}


was (Author: enorman):
[~cziegeler] Ok, I opened SLING-10006 for tracking.  I was just expecting that 
it would be better to add to the public documentation after the feature was 
known to be working.  There don't appear to be any tests to verify this 
functionality and it doesn't appear to work even in the happy path.  For 
example, reporting an error from the PostResponseWithErrorHandling code path 
seems to currently throw a NullPointerException as it can't find the html 
templates from a class in the "impl" package.
{code:java}
curl -i -F:sendError="true" -F:nameHint="test" -Ftext="some body text content" 
http://admin:admin@localhost:8080/content{code}

> 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