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

Activity

Show:
Lars Kiesow
July 14, 2013, 9:16 PM

The patch for also fixes this issue.

Greg Logan
July 26, 2013, 7:51 PM

Committed to trunk with rev 15173, merged to 1.4.x with rev 15175.

Fixed and reviewed

Assignee

Lars Kiesow

Reporter

Lars Kiesow

Severity

Cosmetic Issue

Tags (folksonomy)

None

Components

Fix versions

Affects versions

Priority

Minor
Configure