Uploaded image for project: 'Islandora'
  1. Islandora
  2. ISLANDORA-725

Update the Tuque Error handler to deal with new Fedora Error Reporting

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Fix Version/s: None
    • Component/s: Tuque API
    • Labels:
      None

      Description

      Fedora 3.6 did this:
      Updated REST API Validation failure response codes. If a REST API management operation results in a validation failure (e.g. ingest FOXML validation, validation failure via the DOObjectValidator module) the HTTP response code is now 400. Previously Fedora reported a generic Server Failure 500 response code. The response body indicates the nature of the validation error.

      There is an error handling class attached in Tuque, that we should update so it parses errors differently in the new version of Fedora.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jonathan.green Jonathan Green
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: