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

Steps to reproduce

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.

Status

Assignee

Waldemar Smirnow

Reporter

Waldemar Smirnow

Severity

Incorrectly Functioning Without Workaround

Tags (folksonomy)

None

Components

Fix versions

Affects versions

Priority

Minor
Configure