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

Search result of EpisodeService returns mediapackage with non-rewritten URLs

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed and reviewed
    • Affects versions: 1.4.0
    • Fix versions: 1.4.0
    • Components: Backend Software
    • Labels:
      None
    • Severity:
      Non Functioning
    • Steps to reproduce:
      Hide
      Currently the REST endpoint is in charge of rewriting the search result sets prior to delivery. But the episode service has some direct clients like the EpisodePermissionUpdateEventHandler which then gets mediapackages with "unstable", i.e. non-rewritten URLs.

      In order to change this the EpisodeService's API has to be modified so that all methods returning mediapackages take a UriRewriter as argument.

      The issue was discovered because of the lately fixed clean-up operation. Un-rewritten mediapackage URLs were pointing to the working file repository but since clean-up did not work properly the referenced files were still available.



      - Use a workflow with the clean-up operation at the very end
      - Ingest an episode with a series associated
      - Edit the series in the Series tab, change its name
      - The EpisodePermissionUpdateEventHandler uses the EpisodeService to find all episodes belonging to the modified series. Later on you'll get "could not copy" exceptions.
      Show
      Currently the REST endpoint is in charge of rewriting the search result sets prior to delivery. But the episode service has some direct clients like the EpisodePermissionUpdateEventHandler which then gets mediapackages with "unstable", i.e. non-rewritten URLs. In order to change this the EpisodeService's API has to be modified so that all methods returning mediapackages take a UriRewriter as argument. The issue was discovered because of the lately fixed clean-up operation. Un-rewritten mediapackage URLs were pointing to the working file repository but since clean-up did not work properly the referenced files were still available. - Use a workflow with the clean-up operation at the very end - Ingest an episode with a series associated - Edit the series in the Series tab, change its name - The EpisodePermissionUpdateEventHandler uses the EpisodeService to find all episodes belonging to the modified series. Later on you'll get "could not copy" exceptions.
    • Tags (folksonomy):

      TestRail: Results

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                cedriessen Christoph Driessen
                Reporter:
                cedriessen Christoph Driessen
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  TestRail: Cases