Skip to content

Report Quality Problems Bug #434

Open
@berthob98

Description

@berthob98

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

  1. Go into a Series in Ilias
  2. Click on Report Quality Problems
  3. Send Report
  4. See error

Expected behavior
The report should send without any errors.

Screenshots
Image

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.

$this->getRecipientForType($this->getType())

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Status

Ready

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions