opencast-ilias / OpenCast

Opencast plugin for ILIAS LMS. The plugin shows a Opencast series as an ILIAS object. This version of the ILIAS plugin for Opencast is operated and developed collaboratively by a community. The University of Bern acts as coordinative maintainer.
GNU General Public License v3.0
12 stars 14 forks source link

Undefined array key "workflow_parameters" #311

Open Amstutz opened 1 week ago

Amstutz commented 1 week ago

Describe the bug If no workflow params are set, the Event API throws an error.

To Reproduce Create an event through the API

Expected behavior Event should be created even if no workflow params are set

Log Undefined array key "workflow_parameters", in File /var/www/ilias-next/Customizing/global/plugins/Services/Repository/RepositoryObject/OpenCast/classes/Service/class.xoctEventAPI.php line: 100 , trace: #0 /var/www/ilias-next/Services/Init/classes/class.ilErrorHandling.php(459): Whoops\Run->handleError() /var/www/ilias-next/Customizing/global/plugins/Services/Repository/RepositoryObject/OpenCast/classes/Service/class.xoctEventAPI.php(100): ilErrorHandling->handlePreWhoops()/var/www/ilias-next/Customizing/global/plugins/Origins2/src/helper/unibeEventPodcastOriginHandler.php(354): xoctEventAPI->create()

Environment (please complete the following information):

Additional context PR will be created shortly