Closed ralede closed 2 months ago
I can reproduce this bug on our installation. @chfsx Can you have a look at it in fix it as soon as possible? Thx!
Testing of the bugfix in https://github.com/opencast-ilias/OpenCast/pull/284 by @tscheere was succesfull. Therefore, I close this issue.
The Opencast object cannot be deleted. An error message appears.
To Reproduce Steps to reproduce the behavior:
Expected behavior The Opencast object should be deleted without an error message
Log TypeError thrown with message "Argument 2 passed to ilObjOpenCastGUI::showDeleteConfirmation() must be of the type bool, null given, called in /var/www/ilias/Customizing/global/plugins/Services/Repository/RepositoryObject/OpenCast/classes/trait.ilObjShowDuplicates.php on line 44"
Stacktrace:
8 TypeError in /var/www/ilias/Customizing/global/plugins/Services/Repository/RepositoryObject/OpenCast/classes/trait.ilObjShowDuplicates.php:52
7 ilObjOpenCastGUI:showDeleteConfirmation in /var/www/ilias/Customizing/global/plugins/Services/Repository/RepositoryObject/OpenCast/classes/trait.ilObjShowDuplicates.php:44
6 ilObjOpenCastGUI:deleteObject in /var/www/ilias/Customizing/global/plugins/Services/Repository/RepositoryObject/OpenCast/classes/class.ilObjOpenCastGUI.php:187
5 ilObjOpenCastGUI:executeCommand in /var/www/ilias/Services/UICore/classes/class.ilCtrl.php:217
4 ilCtrl:forwardCommand in /var/www/ilias/Services/Repository/classes/class.ilRepositoryGUI.php:375
3 ilRepositoryGUI:show in /var/www/ilias/Services/Repository/classes/class.ilRepositoryGUI.php:337
2 ilRepositoryGUI:executeCommand in /var/www/ilias/Services/UICore/classes/class.ilCtrl.php:217
1 ilCtrl:forwardCommand in /var/www/ilias/Services/UICore/classes/class.ilCtrl.php:178
0 ilCtrl:callBaseClass in /var/www/ilias/ilias.php:23
Environment (please complete the following information):