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

Return a HTTP 404 (not found) when handling uploads with a missing associated file

    XMLWordPrintable

    Details

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

      Description

      Calling /uploads/<batchId>/0/execute will end on a 500 with that message:

      Unable to find batch associated with id '<batchId>' or file associated with index 'N'

      In that case a 404 (not found) error will be thrown instead.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day
                1d