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

Return a HTTP 400 (bad request) when handling bad document types NuxeoDrive operations

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 2021.x, 11.x
    • Component/s: Nuxeo Drive, Rest API

      Description

      The whole nuxeo-drive addon could will be cleaned up to prevent throwing HTTP 500 errors when the given document is not of the type the operation expected. A 400 error will now the used instead.

      FTR FileSystemItemManagerImpl has 6 occurrences of such exceptions.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated: