bowler-framework / Bowler

RESTful Web Framework based on Scala, built on top of Scalatra & Scalate
http://bowlerframework.org
BSD 3-Clause "New" or "Revised" License
118 stars 13 forks source link

Rendering validations errors on JSON format does not render error messages #4

Closed wfaler closed 13 years ago

wfaler commented 13 years ago

On JSON rendering, when validation errors occur, the server should return a HTTP 400 Code and render a JSON formatted list of error messages.

Only the generic 400 page is shown on jetty when doing this. Possibly have to tweak Jetty settings to render this properly?

wfaler commented 13 years ago

This has been fixed on master, but deployment time solution will be dependent on servlet container, see: http://bowlerframework.org/manual.html#jsonvalidation