Metadata used in integration tests lacks title

Steps to reproduce

11:01:03 ERROR (WorkflowOperationWorker:161) - Workflow operation 'publish' failed
org.opencastproject.search.api.SearchException: org.apache.solr.client.solrj.SolrServerException: java.lang.IllegalArgumentException: MediaPackage 4a159d76-1b5f-4c32-9e1c-3ba8bedd5696 does not contain a title
at org.opencastproject.search.impl.SearchServiceImpl.add(SearchServiceImpl.java:374)
at org.opencastproject.workflow.handler.PublishWorkflowOperationHandler.start(PublishWorkflowOperationHandler.java:174)
at org.opencastproject.workflow.impl.WorkflowOperationWorker.start(WorkflowOperationWorker.java:220)
at org.opencastproject.workflow.impl.WorkflowOperationWorker.execute(WorkflowOperationWorker.java:141)
at org.opencastproject.workflow.impl.WorkflowServiceImpl.runWorkflowOperation(WorkflowServiceImpl.java:738)
at org.opencastproject.workflow.impl.WorkflowServiceImpl.process(WorkflowServiceImpl.java:1603)
at org.opencastproject.workflow.impl.WorkflowServiceImpl$JobRunner.call(WorkflowServiceImpl.java:1970)
at org.opencastproject.workflow.impl.WorkflowServiceImpl$JobRunner.call(WorkflowServiceImpl.java:1936)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:680)
Caused by: org.apache.solr.client.solrj.SolrServerException: java.lang.IllegalArgumentException: MediaPackage 4a159d76-1b5f-4c32-9e1c-3ba8bedd5696 does not contain a title
at org.opencastproject.search.impl.solr.SolrIndexManager.add(SolrIndexManager.java:294)
at org.opencastproject.search.impl.SearchServiceImpl.add(SearchServiceImpl.java:368)
... 12 more
Caused by: java.lang.IllegalArgumentException: MediaPackage 4a159d76-1b5f-4c32-9e1c-3ba8bedd5696 does not contain a title
at org.opencastproject.metadata.StaticMetadataServiceMediaPackageImpl$1.getTitles(StaticMetadataServiceMediaPackageImpl.java:129)
at org.opencastproject.search.impl.solr.SolrIndexManager$4.getDcTitle(SolrIndexManager.java:498)
at org.opencastproject.search.impl.solr.Schema.fill(Schema.java:223)
at org.opencastproject.search.impl.solr.SolrIndexManager.addEpisodeMetadata(SolrIndexManager.java:405)
at org.opencastproject.search.impl.solr.SolrIndexManager.createEpisodeInputDocument(SolrIndexManager.java:379)
at org.opencastproject.search.impl.solr.SolrIndexManager.add(SolrIndexManager.java:273)
... 13 more

Status

Assignee

Christoph Driessen

Reporter

Christoph Driessen

Severity

Non Functioning

Tags (folksonomy)

Components

Fix versions

Affects versions

1.4.0

Priority

Major