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

Rest endpoints now return 501 HTTP status code (Not Implemented) on UnsupportedOperationException

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2023.0
    • Component/s: Rest API
    • Release Notes Summary:
      Rest endpoints now return 501 HTTP status code (Not Implemented) when a UnsupportedOperationException is thrown java side
    • Tags:
    • Team:
      NOS
    • Sprint:
      nxplatform #87

      Description

      While merging devs done for NXP-28565, we changed the behavior of exception handling when serializing exceptions at REST level. See https://github.com/nuxeo/nuxeo-lts/commit/b4f8fe03ad2e4692fe9b9e1e45dfca43b912beae#diff-4924467fc138db1deb0da3700708e9ad1ac7181d86287f94e9ba1c3803b2c8c4R98

      Rest endpoints now return 501 HTTP status code (Not Implemented) when a UnsupportedOperationException is thrown java side.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                grenard Guillaume Renard
                Reporter:
                grenard Guillaume Renard
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: