Uploaded image for project: 'Opencast'
  1. MH-12874

Exception handling for OAI-PMH retract operation with non published event

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed and reviewed
    • Affects versions: 5.0
    • Fix versions: 5.0
    • Components: Backend Software
    • Labels:
      None
    • Severity:
      Incorrectly Functioning Without Workaround
    • Steps to reproduce:
      Hide
      Start an OAI-PMH retract operation on a non published event. You will see an exception in the log output:

      2018-05-09 11:39:23,893 | ERROR | (AbstractJobProducer$JobRunner:312) - Error handling operation 'Retract': org.opencastproject.util.NotFoundException: No media package with id 54445b62-219e-4e5c-b204-ca442514198f exists

      As the operation should remove all data from the repository I would expect, that the operation does not fail if no publication currently exist.
      Show
      Start an OAI-PMH retract operation on a non published event. You will see an exception in the log output: 2018-05-09 11:39:23,893 | ERROR | (AbstractJobProducer$JobRunner:312) - Error handling operation 'Retract': org.opencastproject.util.NotFoundException: No media package with id 54445b62-219e-4e5c-b204-ca442514198f exists As the operation should remove all data from the repository I would expect, that the operation does not fail if no publication currently exist.

      TestRail: Results

        Attachments

          Activity

            People

            • Assignee:
              waldemarsmirnow Waldemar Smirnow
              Reporter:
              waldemarsmirnow Waldemar Smirnow
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                TestRail: Cases