Publish workflow after cutting fails

Steps to reproduce

Steps to reproduce:
1. Upload a video (same error for single and dual stream) using the 'Process upon upload and schedule' workflow that comes with OC 2.1
2. After processing, use the editor to cut it in half.
3. Choose the 'Publish' workflow that comes with OC 2.1
4. The workflow should fail.

Actual Results:
The workflow fails with the following error message:
Exception message WorkflowOperationException: Media package does not meet criteria for publication
job-operation
START_OPERATION
job-type
org.opencastproject.workflow
stack-trace
org.opencastproject.workflow.api.WorkflowOperationException: Media package does not meet criteria for publication
at org.opencastproject.workflow.handler.distribution.PublishEngageWorkflowOperationHandler.start(PublishEngageWorkflowOperationHandler.java:372)
at org.opencastproject.workflow.impl.WorkflowOperationWorker.start(WorkflowOperationWorker.java:228)
at org.opencastproject.workflow.impl.WorkflowOperationWorker.execute(WorkflowOperationWorker.java:154)
at org.opencastproject.workflow.impl.WorkflowServiceImpl.runWorkflowOperation(WorkflowServiceImpl.java:886)
at org.opencastproject.workflow.impl.WorkflowServiceImpl.process(WorkflowServiceImpl.java:1971)
at org.opencastproject.workflow.impl.WorkflowServiceImpl$JobRunner.call(WorkflowServiceImpl.java:2400)
at org.opencastproject.workflow.impl.WorkflowServiceImpl$JobRunner.call(WorkflowServiceImpl.java:2366)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Expected Results:
Cut version of the video is published to engage.

Workaround (if any):
none

Activity

Show:
Former user
July 14, 2016, 2:16 PM

Hi Daniel,

That error is usually because the edited tracks were not tagged for publish to engage, so they were not found in the publish set. The tagging happens in the workflow. It is possible that the incorrect "Publish" workflow was selected? There is a "ng-publish-after-cutting" workflow an option and "ng-publish" workflow, etc.
https://bitbucket.org/opencast-community/matterhorn/src/74198398bad4/etc/workflows/?at=r/2.1.x

Assignee

Unassigned

Reporter

Former user

Severity

Non Functioning