Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-1422

REST addon should support generation of exception mappers for validation errors

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: Major Major
    • 3.x Future
    • 2.0.0.Beta4
    • Builtin Plugins
    • None

      Currently a HTTP 500 response is generated for validation errors encountered during processing of POST/PUT requests that create or update JPA entities. The 500 response contains a stacktrace that cannot be parsed by clients to evaluate what failed.

      We should generate exception mappers that can map Bean validation errors to help generate parseable responses (for the REST clients).

              vineet.reynolds_jira Vineet Reynolds (Inactive)
              vineet.reynolds_jira Vineet Reynolds (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: