Open
Description
Describe the bug
When using the "Report Quality Problems" feature an error occurs since Ilias 9.
To Reproduce
Steps to reproduce the behavior:
0. Activate the feature inside the Plugin Settings
- Go into a Series in Ilias
- Click on Report Quality Problems
- Send Report
- See error
Expected behavior
The report should send without any errors.
Log
TypeError thrown with message "ilMail::sendMail(): Argument #1 ($mail_data) must be of type MailDeliveryData, string given, called in /data_nfs/htdocs/ilias-test9x/Customizing/global/plugins/Services/Repository/RepositoryObject/OpenCast/src/Model/Report/Report.php on line 47"
Stacktrace:
#12 TypeError in /data_nfs/htdocs/ilias-test9x/Services/Mail/classes/class.ilMail.php:1082
#11 ilMail:sendMail in /data_nfs/htdocs/ilias-test9x/Customizing/global/plugins/Services/Repository/RepositoryObject/OpenCast/src/Model/Report/Report.php:47
#10 srag\Plugins\Opencast\Model\Report\Report:create in /data_nfs/htdocs/ilias-test9x/Customizing/global/plugins/Services/Repository/RepositoryObject/OpenCast/classes/Event/class.xoctEventGUI.php:1265
...
Environment (please complete the following information):
- ILIAS version: 9
Additional context
The sendMail() Function of the ilMail Class was changed from Ilias 8 to Ilias 9. I believe the adaptation inside the Opencast Plugin needs to be fixed.
OpenCast/src/Model/Report/Report.php
Line 48 in b07bbca
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Ready