Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
- Have a Ilias Opencast-Series Element in the Ilias-Plugin which contains an Event in an unknown state (processing_state STOPPED).
- Try to open the Series
- An Ilias Whoops is displayed
Expected behavior
The Ilias Opencast-Plugin should handle unexpected event status. The broken event should be labeled as "event with an unexpected state" or similar. The other events and control elements of the series should stay functional.
Screenshots

You can see, that the entire series is unusable because of one element.
Log
Whoops\Exception\ErrorException thrown with message "Undefined array key "STOPPED""
Stacktrace:
#18 Whoops\Exception\ErrorException in /srv/www/ilias.kim.uni-konstanz.de/ilias/Customizing/global/plugins/Services/Repository/RepositoryObjec
t/OpenCast/classes/Event/class.xoctEventRenderer.php:450
#17 ilErrorHandling:handlePreWhoops in /srv/www/ilias.kim.uni-konstanz.de/ilias/Customizing/global/plugins/Services/Repository/RepositoryObjec
t/OpenCast/classes/Event/class.xoctEventRenderer.php:450
#16 xoctEventRenderer:getStateHTML in /srv/www/ilias.kim.uni-konstanz.de/ilias/Customizing/global/plugins/Services/Repository/RepositoryObject
/OpenCast/classes/Event/class.xoctEventTableGUI.php:151
#15 xoctEventTableGUI:fillRow in /srv/www/ilias.kim.uni-konstanz.de/ilias/Services/Table/classes/class.ilTable2GUI.php:1366
Environment (please complete the following information):
- ILIAS version: 9.15
- PHP version: -
- Plugin version: 9.0.6
- Opencast version 17.8
- Browser: -
Additional context
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The Ilias Opencast-Plugin should handle unexpected event status. The broken event should be labeled as "event with an unexpected state" or similar. The other events and control elements of the series should stay functional.
Screenshots
Log
Environment (please complete the following information):
Additional context
The REST endpoint .../docs.html?path=/api/events#getevent-1
for the Event states:
Event.php doesnt know the state STOPPED