Open WKarlHGU opened 1 month ago
Which Opencast version you are using?
We are using version 15.7.0 Sorry for not giving this information.
From what I could understand, the seriesId
is somehow missing.
The URL that is trying to get data from is: /api/series//metadata
But it has to be /api/series/[missing series id]/metadata
Maybe this could be a good clue where to look at!
Well - at that point in time there is no seriesId. It is a neutral ilias page without connection to any series. I understand, that there should open a dropdown that allows me to select a series and then select one of its videos.
That sounds to me like a logical problem: (offering to add opencast video where it is not suitable) It needs to be identified and prevented if this is the case!
It is suitable because this option ("Insert Opencast Video") is offered in the context dialog. I expect the opencast page plugin to open a dialog to ask which series and then which video shoud be inserted. This is exactly what is triggered if I want to enter a new opencast object in a learning module. How else should it work? There is no other way to open a series on an ilias page, or is there a way?
Furthermore, it is possible to have a video in opencast that does not belong to any series.
From the main README.md in the root directory:
"The page editor action "Insert Opencast Video" offers a table to search videos from the configured Opencast installation (configuration of RepositoryObject plugin "Opencast" will be used). The table will show only videos accessible by the current user."
This is exactly what I am missing and what it should do.
When I edit an ilias page in a learning module and try to insert an opencast video, an exception is thrown:
To reproduce:
The a.m. exception ist thrown
Environment: