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

VideoEditor load GETs editer.json resource twice

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed and reviewed
    • Affects versions: 3.6, 4.3, 5.0
    • Fix versions: 4.5
    • Labels:
      None
    • Severity:
      Performance
    • Steps to reproduce:
      Hide
      Open WebDeveloper console and then click on any event that is ready to edit. In the Network tab you will see that the editor.json resource is fetched twice.

      Using the debugger it appears that two different ToolsCtrl $scopes are getting this resource, $scope.$id differ for each fetch (note $id not id which is the event id)

       $scope.video = ToolsResource.get({id: $scope.id, tool: 'editor'});



      Show
      Open WebDeveloper console and then click on any event that is ready to edit. In the Network tab you will see that the editor.json resource is fetched twice. Using the debugger it appears that two different ToolsCtrl $scopes are getting this resource, $scope.$id differ for each fetch (note $id not id which is the event id)  $scope.video = ToolsResource.get({id: $scope.id, tool: 'editor'});
    • Tags (folksonomy):

      TestRail: Results

        Attachments

          Activity

            People

            • Assignee:
              james.perrin James Perrin
              Reporter:
              james.perrin James Perrin
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                TestRail: Cases