You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The webscript should return an appropriate HTTP error in the 4XX range (e.g. 422) when making a request without required parameter(s).
Current Behavior
When a webscript argument annotated with @RequestParam is missing from an HTTP request, an IllegalStateException is thrown, causing Alfresco to return a 500 error response.
Steps to Reproduce
Create a webscript using an @RequestParam annotation
Make an HTTP request to the webscript without the required parameter
Your Environment
Alfresco version used: 5.1.4.1
DE version used: 2.0.3
The text was updated successfully, but these errors were encountered:
I'm submitting a
Expected Behavior
The webscript should return an appropriate HTTP error in the 4XX range (e.g. 422) when making a request without required parameter(s).
Current Behavior
When a webscript argument annotated with
@RequestParam
is missing from an HTTP request, an IllegalStateException is thrown, causing Alfresco to return a 500 error response.Steps to Reproduce
@RequestParam
annotationYour Environment
The text was updated successfully, but these errors were encountered: