Ingest fails if empty URI fields are send

Steps to reproduce

Alexander Bias reported on matterhorn-users [1] that ingests to /ingest/addMediapackage fail if executed from the REST docs. The reason for this is that some browsers will send empty fields to the endpoint and some of them are then parsed as URI. That will obviously fail. While it is a correct behaviour of the ingest endpoint, it is not a “nice” behaviour and it should cause no problem to just ignore empty fields instead.

[1]: https://groups.google.com/a/opencast.org/forum/#!topic/matterhorn-users/A9ydczzU2Ac

Status

Assignee

Lars Kiesow

Reporter

Lars Kiesow

Severity

Cosmetic Issue

Tags (folksonomy)

None

Components

Fix versions

Affects versions

1.4.0

Priority

Minor