virtUOS / edusharing-opencast-importer

This importer harvests episodes (lecture recordings) from Opencast instances and push it as external references to an Edusharing instance.
GNU General Public License v3.0
2 stars 2 forks source link

Workaround for broken OC-API #51

Closed jduehring closed 1 year ago

jduehring commented 1 year ago

In some OC versions between 11.x and 12.x the search endpoint returns an empty string for the limit parameter. In these instances it led to an infinite loop and an out of memoryexception.

This PR works around the broken endpoint and uses the configured limit value rather than relying on the API.