Skip to content

Error message when building the content list in the Opencast PageComponent Plugin #431

Open
@mwizgall

Description

@mwizgall

Describe the bug
When opening the page editor, (+) Add content, Add video from Opencast, a (user-specific) content list is typically generated.
Some users are unable to use the PageComponent in any course because when clicking on "Add video from Opencast," an error is thrown instead of the user-specific content list.

The error log shows:
errors]# cat bh63v_5649.log
xoctException thrown with message "Not Found: OcSeriesApi ->
getMetadata: [ (GET) /api/series//metadata] => Not Found"

Stacktrace:
#31 xoctException in
/data/ilias3/Customizing/global/plugins/Services/Repository/RepositoryObject/OpenCast/src/API/DecorateProxy.php:97
#30 srag\Plugins\Opencast\API\DecorateProxy:digestResponse in
/data/ilias3/Customizing/global/plugins/Services/Repository/RepositoryObject/OpenCast/src/API/DecorateProxy.php:59
#29 srag\Plugins\Opencast\API\DecorateProxy:__call in
/data/ilias3/Customizing/global/plugins/Services/Repository/RepositoryObject/OpenCast/src/Model/Series/SeriesAPIRepository.php:86

Fabian had already suggested to me that a value is missing between the slashes of "series" and "metadata" in "(GET) /api/series//metadata."

Several Opencast users at the university are already affected by this issue.

To Reproduce
Steps to reproduce the behavior:

  1. Go to any course (admin permissions required)
  2. Click on "Edit Page"
  3. Click on (+)
  4. Click on "Add video from Opencast"

Expected behavior
For every user with the appropriate permissions, a content list with Opencast videos should be generated, which can then be embedded to design the course page.
However, the issue is user-dependent and course-independent, which is why it cannot be reproduced in a user-independent manner.

Environment (please complete the following information):

  • ILIAS version: [v8.19]
  • PHP version: [PHP 8.0.30]
  • Plugin version: [8.x]
  • Opencast version [14.6]
  • Opencast PageComponent [8.1.0]
  • Browser: [all browsers]

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