Uploaded image for project: 'Opencast'
  1. MH-12602

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed and reviewed
    • Affects Version/s: 4.0
    • Fix Version/s: 4.1
    • Component/s: External API
    • Labels:
      None
    • Severity:
      Incorrectly Functioning With Workaround
    • Steps to reproduce:
      Hide
      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.
      Show
      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.

      TestRail: Results

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                slampunk Duncan Smith
                Reporter:
                smarquard Stephen Marquard
              • Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  TestRail: Cases