Ingest with nonexistent workflow specification should return 400 bad request

Steps to reproduce

2017-02-03 00:34:04,393 | INFO | (IngestServiceImpl:1465) - Ingested mediapackage 2d4259a3-a789-4c03-b1b6-49fc4296a06f is processed using workflow template 'full', specified during ingest
2017-02-03 00:34:04,393 | WARN | (IngestRestService:1097) - Workflow definition 'full' not found
org.opencastproject.util.NotFoundException: Workflow definition 'full' not found
at org.opencastproject.workflow.impl.WorkflowServiceImpl.getWorkflowDefinitionById(WorkflowServiceImpl.java:1006)
at org.opencastproject.ingest.impl.IngestServiceImpl.getWorkflowDefinition(IngestServiceImpl.java:1484)

Activity

Show:
Stephen Marquard
July 9, 2017, 4:07 PM

changes this behaviour to fall back to the configured default workflow if the specified workflow doesn't exist, for addZippedMediaPackage.

There may be some other ingest endpoints that need changing though.

Assignee

Lars Kiesow

Reporter

Lars Kiesow

Severity

Incorrectly Functioning With Workaround