Skip to content

Cronjob wirft Fehler bei kaputtem OC-Event #1271

Open
@dennis531

Description

@dennis531

Version
1264-remove-worker-cronjob-and-move-functionality-to-discovery-cronjob

Describe the bug
Kaputte Events, die in OC z. B. nicht vollständig gelöscht wurden, führen zu fehlern im Cronjob.

Cronjob-Log:

found new video in Opencast #1: 2f577gt2-aaa0-4321-b02c-925fb8092083 ()
storing video 123456 to database... 

In SimpleORMap.class.php line 2014: oc_video.version must not be null.

Our emergency solution
In opencast_discover_videos.php we set the default version of 0 for events without a version:

$video->version   = $event->archive_version ?? 0;

Metadata

Metadata

Assignees

Labels

priority:criticaltype:bugv:3Everything related to the Stud.IP Opencast Plugin Version 3.x

Type

No type

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions