Due to an issue during index rebuild, I am dealing with some events without any workflows right now. While debugging the problem, I came across some strange behavior in the admin ui:
First, the event's workflows tab shows an empty list:

This is expected, as the corresponding request to Opencast failed:
Details
GET https://opencast.example.com/admin-ng/event/c7648b1a-42e1-4df2-9dc2-9b23d4daaced/workflows.json
< HTTP/2 500 Internal Server Error
< server: nginx
< date: Tue, 10 Sep 2024 10:29:51 GMT
< content-type: application/json
< content-length: 380
< cache-control: must-revalidate,no-cache,no-store
< access-control-allow-credentials: true
< X-Firefox-Spdy: h2
{
"cause1":"java.lang.NullPointerException",
"servlet":"/admin-ng/event",
"cause0":"com.google.common.util.concurrent.UncheckedExecutionException: java.lang.NullPointerException",
"message":"com.google.common.util.concurrent.UncheckedExecutionException: java.lang.NullPointerException",
"url":"/admin-ng/event/c7648b1a-42e1-4df2-9dc2-9b23d4daaced/workflows.json",
"status":"500"
}
But, after displaying another event's details and returning to the original event, that other event's workflows are suddenly shown:

I guess having events without any workflows attached should be quite uncommon, but displaying another events' workflows probably should not happen in any case and may indicate a bug somewhere in the admin ui?
EIDT: Currently on Opencast 16.1
Due to an issue during index rebuild, I am dealing with some events without any workflows right now. While debugging the problem, I came across some strange behavior in the admin ui:
First, the event's workflows tab shows an empty list:

This is expected, as the corresponding request to Opencast failed:
Details
But, after displaying another event's details and returning to the original event, that other event's workflows are suddenly shown:

I guess having events without any workflows attached should be quite uncommon, but displaying another events' workflows probably should not happen in any case and may indicate a bug somewhere in the admin ui?
EIDT: Currently on Opencast 16.1