We're updating the issue view to help you get more done. 

External API gives 500 error for migrated series that do not have creator field

Steps to reproduce

Steps to reproduce:

1. Migrate OC 3.x series to 4.x
2. Start OC
3. Access series through external API, e.g.

/api/series/SERIESID

Actual Results:

HTTP ERROR 500
Problem accessing /api/series/56a2a9f3-3ca3-43c1-b911-c4052ec4aedc. Reason:
Server Error
Caused by:
java.lang.IllegalArgumentException: Value of field 'creator' must not be null
at com.entwinemedia.fn.data.json.Field.<init>(Field.java:31)
at com.entwinemedia.fn.data.json.Jsons.f(Jsons.java:89)
at org.opencastproject.external.endpoint.SeriesEndpoint.getSeries(SeriesEndpoint.java:318)

Expected Results:

Series JSON should be returned with empty creator field.

Workaround (if any):

Use another API.

Status

Assignee

Duncan Smith

Reporter

Stephen Marquard

Severity

Incorrectly Functioning With Workaround

Tags (folksonomy)

None

Components

Fix versions

Affects versions

4.0

Priority

Major