Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-30075

Map VersionNotModifiableException to a bad request 400

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.10-HF44, 11.x, 2021.2
    • Component/s: Core, Rest API

      Description

      Currently the VersionNotModifiableException exception is mapped to a HTTP code 500, although it's not a server error but a client error if the client tries to update a non-modifiable version document.

      => Map the VersionNotModifiableException exception to HTTP code 400.

        Attachments

          Activity

            People

            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: