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

External API: Cannot get series if description field is empty

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed and reviewed
    • Affects versions: 4.0
    • Fix versions: 4.0
    • Components: External API
    • Labels:
      None
    • Severity:
      Incorrectly Functioning With Workaround
    • Steps to reproduce:
      Hide
      Steps to reproduce:
      1. Create series only with the required fields. (e.g. AdminUI: just the title is required)
      2. Go to "External API Series Service REST Documentation".
      3. Try to get the created series. (GET /{seriesId})
       
       Actual Results:
       Status: 500 (Server Error)
       
       Expected Results:

      Status: 200 (OK)

      {
        "identifier": "90fe8a1c-8c02-487b-af0e-3eb992338ab0",
        "creator": "Administrator",
        "opt_out": false,
        "created": "2017-10-26T13:24:51Z",
        "subjects": [],
        "organization": "mh_default_org",
        "organizers": [],
        "description": "",
        "publishers": [],
        "contributors": [],
        "title": "asdf"
      }

       
       Workaround (if any):
      Add description to series.





      Show
      Steps to reproduce: 1. Create series only with the required fields. (e.g. AdminUI: just the title is required) 2. Go to "External API Series Service REST Documentation". 3. Try to get the created series. (GET /{seriesId})    Actual Results:  Status: 500 (Server Error)    Expected Results: Status: 200 (OK) {   "identifier": "90fe8a1c-8c02-487b-af0e-3eb992338ab0",   "creator": "Administrator",   "opt_out": false,   "created": "2017-10-26T13:24:51Z",   "subjects": [],   "organization": "mh_default_org",   "organizers": [],   "description": "",   "publishers": [],   "contributors": [],   "title": "asdf" }    Workaround (if any): Add description to series.

      TestRail: Results

        Attachments

          Activity

            People

            • Assignee:
              staubesv Sven Stauber
              Reporter:
              gregor.eichelberger Gregor Eichelberger
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                TestRail: Cases