sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konrad Windszus (JIRA)" <>
Subject [jira] [Commented] (SLING-6515) Sling Post Processor considering validation model as well
Date Sun, 19 Mar 2017 14:52:42 GMT


Konrad Windszus commented on SLING-6515:

Even if the new message would contain as cause the original exception, this would not be given
out via HTMLResponse or JSONResponse, because both just call Property.toString(). {{Throwable.toString()}}
does not expose the wrapped exception though, see
I am wondering, why wrapping the exception is necessary at all.

> Sling Post Processor considering validation model as well
> ---------------------------------------------------------
>                 Key: SLING-6515
>                 URL:
>             Project: Sling
>          Issue Type: Improvement
>          Components: Validation
>            Reporter: Konrad Windszus
> It should be possible to optionally enable a Sling Post Processor which validates the
incoming parameters against a validation model. In case the incoming parameters are not valid,
there must be an error response. 

This message was sent by Atlassian JIRA

View raw message