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

Events not searchable after migration if event was subject to a workflow with two publish-engage operations

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed and reviewed
    • Affects versions: 3.3
    • Fix versions: 4.0
    • Components: Backend Software
    • Labels:
      None
    • Severity:
      Non Functioning
    • Steps to reproduce:
      Hide
      Steps to reproduce:
      1. In a 3.x build, publish an event with a workflow which contains two publish-engage operations. Make sure that the published event is playable via player of your choice.
      2. upgrade 3.x to 4.x using the process described in https://docs.opencast.org/r/4.x/admin/upgrade/
      3. Complete the reindexing (recreateIndex endpoint).
       
       Actual Results:
       Events which were subject to the workflows with double publish-engage operations are not searchable via the /search endpoint.
       
       Expected Results:
       Events subject to a workflow with a double publish-engage operations should be searchable after migration just as they are searchable prior to migration.
       
       Workaround (if any):
       Delete solr-indexes, 'null'-ify deletion_date record in mh_search table for relevant events and recreate indexes.

      See PublishEngageWorkflowOperationHandler.java:760 and SearchServiceImpl.java:435. In the least, the second publication should remove the deletion_date from the event in the mh_search table.
      Show
      Steps to reproduce: 1. In a 3.x build, publish an event with a workflow which contains two publish-engage operations. Make sure that the published event is playable via player of your choice. 2. upgrade 3.x to 4.x using the process described in https://docs.opencast.org/r/4.x/admin/upgrade/ 3. Complete the reindexing (recreateIndex endpoint).    Actual Results:  Events which were subject to the workflows with double publish-engage operations are not searchable via the /search endpoint.    Expected Results:  Events subject to a workflow with a double publish-engage operations should be searchable after migration just as they are searchable prior to migration.    Workaround (if any):  Delete solr-indexes, 'null'-ify deletion_date record in mh_search table for relevant events and recreate indexes. See PublishEngageWorkflowOperationHandler.java:760 and SearchServiceImpl.java:435. In the least, the second publication should remove the deletion_date from the event in the mh_search table.

      TestRail: Results

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              slampunk Duncan Smith
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                TestRail: Cases