opencast-ilias/OpencastEvent

Can't access course with OpencastEvent object inside: doRBACCheck(): No operations given!

reiferschris opened this issue · 1 comments

Describe the bug
Can't access courses when an OpencastEvent object was created in them.

To Reproduce
Steps to reproduce the behavior:

  1. Create an OpencastEvent object in ilias
  2. try to access the course where the object is (breadcrums, sidebar-nav, whatever)
  3. See error ilAccess::doRBACCheck(): No operations given! $a_ref_id: 137

Expected behavior
You enter the course and see its contents including the OpencastEvent object

Log
No error log file is created, only this message appears:
ilAccess::doRBACCheck(): No operations given! $a_ref_id: 137

Environment (please complete the following information):

  • ILIAS version: [v7.26 2023-10-23]
  • PHP version: [e.g. PHP 7.4.3]
  • Plugin version: [5.6.0]
  • Browser: [firefox]

Additional context
ref_id: 137 is the created OpencastEvent object
Other objects within in the course can still be accessed if links are available (e.g. a regular Opencast (series) object)

chfsx commented

This error occurs with all plugins after a certain ILIAS version (I think 7.26). The plugin must be included in the composer.json of ILIAS or must not be excluded by a patch. Since at the beginning of ILIAS 7 many plugins caused problems when generating the classmap in ILIAS, these were partially patched out, which no longer works.

as soon as the composer.json is back to the original state (or at least this specific plugin is no longer excluded), the classap of ILIAS must be updated (composer dump-autoload), which must be done anyway with every ILIAS update.

Unfortunately, the plugins themselves cannot change anything here.