opencast-ilias / OpencastEvent

Opencast plugin for ILIAS LMS to display videos from Opencast as objects (dependent on https://github.com/opencast-ilias/OpenCast). This ILIAS plugin for Opencast is operated and developed collaboratively by a community. The University of Cologne acts as coordinative maintainer.
GNU General Public License v3.0
2 stars 3 forks source link

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

Closed reiferschris closed 9 months ago

reiferschris commented 9 months ago

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):

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 9 months ago

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.