Opencast-Moodle / moodle-block_opencast

Moodle block plugin which can be used to link Moodle courses to Opencast series. Teachers can use this block to upload videos to Moodle which are then transmitted to Opencast and processed there afterwards.
22 stars 27 forks source link

After deleting and re-adding an Opencast block, there are two Opwencast series with the same name #351

Closed mwuttke closed 10 months ago

mwuttke commented 11 months ago

Actual behavior If you "hide" an Opencast block in Moodle, i.e. remove it from the course page, and then add it again, all the videos in the block suddenly "disappear". However, they are only not visible in the newly added block and are therefore no longer available to the teacher. However, they are not deleted in Opencast and still belong to the Opencast series of the Moodle course. When the Opencast block is re-added to the same course, a new series is created in Opencast with a new series ID. There are then two Opencast series that belong to the same Moodle course. They both have the same name _CourseSeries{Moodle-courseID}_. However, one has the addition _(ID:seriesID).

Expected behavior If an Opencast block is accidentally or deliberately deleted and later re-added to the same Moodle course, the videos belonging to the Moodle course should also reappear in the Opencast block. This means that no new series should be created in Opencast. Instead, the "old" series should be used again after the Opencast block in the Moodle course has been re-added.

Screenshots Screen

If you delete the opencast block again and add it again, another series is created.

used environment

ferishili commented 11 months ago

For more info about this feature please refer to the PR description

NinaHerrmann commented 11 months ago

Thank you for reporting! Could you specify if any other behavior led to this? As you said i.e. remove it from the course page I was wondering if it is exclusively.

mwuttke commented 11 months ago

@NinaHerrmann, in my opinion, there is no other cause for this behavior. In any case, I can't think of any other, nor have I been able to find it in any other context.

NinaHerrmann commented 11 months ago

Thank you!