Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.5
Description
Setting the status code for validation has no effect.
<constant name="struts.rest.validationFailureStatusCode" value="406"/>
Inside of the RestWorkflowInterceptor this status code is used:
HttpHeaders info = new DefaultHttpHeaders()
.disableCaching()
.renderResult(method)
.withStatus(validationFailureStatusCode);
But the result has still a 200 success result.