Recreate SearchIndex. If one Series has no ACL, Not all Series will be written in Search-Index

Steps to reproduce

Steps to reproduce:
1. Create Several Series
2. Create a Series with Rest-Endpoints wirhout Acl
3. Delte Solr-Search
4. restart Opencast

Actual Results:
Search-Index will be recreated for all Episodes.
All Series after the Series without the acl; are not in the search-Index

Expected Results:

Workaround (if any):
Set an acl for the All Series, recreate the Search-Index

Activity

Show:
Lars Kiesow
October 4, 2017, 8:31 PM
  • Created series with no ACL

  • Added one event

  • Rebuilt index with no problem

Christian Greweling
August 25, 2017, 12:27 PM

The Series was ingested from an older Opencast Instance, without an acl.
It was indexed through the publish operation. Everything was fine.

With recreating the Index the queue of Series was Indexed correct up to the Series without the acl.
All Series After this specific one were not Indexed.

Yes this is indeed confusing. In my Opinion the acl's should be managed through one Service.
Recreate Index just reads it from the database, if i get that correct. But Identifying all these different ways of handling acls and rewrite them could be tough..

Maybe we should say, there can not be a Series without an acl?
So the minimum during Ingest should be the default acl for a Series?

Former user
August 25, 2017, 12:11 PM

Is the series without an ACL getting indexed before the index is deleted and re-created?
Also, does the series without an ACL preventing additional series with ACL from being indexed or just the series without an ACL?

Does it really make sense to put the responsibility on determining how to handle a non-ACL asset to each individual service: asset manager, search, series, admin UI-ng, etc?One service is Ok with showing a no-ACL asset to all users. Another service only shows it to "admin" users. Another service does not show a non-ACL asset to anyone. This seems like it will be confusing to adopters.

Cannot Reproduce
Your pinned fields
Click on the next to a field label to start pinning.

Assignee

Lars Kiesow

Reporter

Christian Greweling

Severity

Incorrectly Functioning With Workaround