opencast-ilias / OpencastPageComponent

Opencast plugin for ILIAS LMS page editor (dependent on https://github.com/opencast-ilias/OpenCast). 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
4 stars 6 forks source link

Whoops when using imported folder with OpencastPagecomponent #30

Open okaufman opened 2 months ago

okaufman commented 2 months ago

I had this error when accessing an imported folder with an OpencastPageComponent in it:

 ERROR: Whoops\Handler\CallbackHandler::handle:398 2 Undefined array key "responsive" in /var/www/ilias/Customizing/global/plugins/Services/COPage/PageComponent/OpencastPageComponent/classes/class.ilOpencastPageComponentPluginGUI.php:538
0 /var/www/ilias/Services/Init/classes/class.ilErrorHandling.php(459): Whoops\Run->handleError()
1 /var/www/ilias/Customizing/global/plugins/Services/COPage/PageComponent/OpencastPageComponent/classes/class.ilOpencastPageComponentPluginGUI.php(538): ilErrorHandling->handlePreWhoops()
2 /var/www/ilias/Customizing/global/plugins/Services/COPage/PageComponent/OpencastPageComponent/classes/class.ilOpencastPageComponentPluginGUI.php(452): ilOpencastPageComponentPluginGUI->setStyleFromProps()

I already have a fix for this issue and will make a PR.