You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Open the metadata dialog (editing or creating an event) causes a huge file download and is very slow.
/admin-ng/event/new/metadata gets loaded (including all series data) 4 times when opening the create event dialog, closing the dialog loads it a further 2 more times!
create.event.metadata.mp4
Opening an existing event loads metadata only once but it is still slow because it loads all series metadata
existing.event.metadata.mp4
It would be better if as well as removing the duplicated loads we could use an autocomplete to search for series and not load the entire set.
The query to get all series itself still takes a solid second on my system (for about 10000 series), so we'd still be pretty slow even if the above was not an issue.
For me, /admin-ng/event/new/metadata is fired once when opening the Create Event dialog and not at all when closing it. Maybe this has been fixed in the meantime.
I am also not seeing all series metadata being loaded when opening the dialog for an existing event. Only a huge array of "Series Title: Series ID" key value pairs. Which request is loading the metadata?
Hey @Arnei thanks for taking a look! I'm away from computers for a couple of weeks so can't look properly until I get back 😊.
I think the multiple requests were probably due to running the frontend in dev mode which I wasn't aware of at the time so that's probably not a problem now.
I'll be back at work on July 7th so I'll do some more testing then.
I've been looking into this issue and came up with a possible solution that I’ve implemented on the frontend from a user experience perspective.
It’s not perfect yet, but the idea is to lock the page using an overlay with a busy indicator while the metadata is still loading after clicking on the "Edit Event" panel. This prevents user interaction until the necessary data is available.
Please let me know if this approach could be considered as a viable solution, or if there are suggestions to improve it further.
We just run into the same problems after updating our Opencast to 17.x.
On our installation, not only is opening the event dialogue slow, but entering text into any of the fields (like "title") is also slow. When I type into one of these fields, the characters appear slowly, one after the other. @Arnei, do you know if this is also caused by the backend code that you mentioned and fixed with #1375? Or is this a completely different issue?
We just run into the same problems after updating our Opencast to 17.x. On our installation, not only is opening the event dialogue slow, but entering text into any of the fields (like "title") is also slow. When I type into one of these fields, the characters appear slowly, one after the other. @Arnei, do you know if this is also caused by the backend code that you mentioned and fixed with #1375? Or is this a completely different issue?
I don't think the problem with slow text entry is related to this issue. Therefore, I have created a new issue: #1406
Activity
priya-tik commentedon May 13, 2025
Hallo, I have just resolved the issue regarding the unnecessary metadata fields. You can check the PR #1235 for the details and changes made.
Arnei commentedon Jun 20, 2025
As far as I can tell the biggest time waster is this code in the backend https://github.com/opencast/opencast/blob/e11426559dc3ad229f59b1e0d2f945ade7591b5a/modules/index-service/src/main/java/org/opencastproject/index/service/resources/list/provider/SeriesListProvider.java#L157. It checks if two or more series have the same title and if true, modifies the series title to be unique. It does this for all series. On my system that takes about 4~5 seconds for about 10000 series, which makes for most of the time of the webrequest. It would already help a fair bit if we could find a way to not do that.
The query to get all series itself still takes a solid second on my system (for about 10000 series), so we'd still be pretty slow even if the above was not an issue.
For me,
/admin-ng/event/new/metadatais fired once when opening the Create Event dialog and not at all when closing it. Maybe this has been fixed in the meantime.I am also not seeing all series metadata being loaded when opening the dialog for an existing event. Only a huge array of "Series Title: Series ID" key value pairs. Which request is loading the metadata?
ppettit commentedon Jun 20, 2025
Hey @Arnei thanks for taking a look! I'm away from computers for a couple of weeks so can't look properly until I get back 😊.
I think the multiple requests were probably due to running the frontend in dev mode which I wasn't aware of at the time so that's probably not a problem now.
I'll be back at work on July 7th so I'll do some more testing then.
EnsiyehE commentedon Jul 21, 2025
Hello everyone,
I've been looking into this issue and came up with a possible solution that I’ve implemented on the frontend from a user experience perspective.
It’s not perfect yet, but the idea is to lock the page using an overlay with a busy indicator while the metadata is still loading after clicking on the "Edit Event" panel. This prevents user interaction until the necessary data is available.
Please let me know if this approach could be considered as a viable solution, or if there are suggestions to improve it further.
Best regards,

Ensiyeh
snoesberger commentedon Aug 19, 2025
We just run into the same problems after updating our Opencast to 17.x.
On our installation, not only is opening the event dialogue slow, but entering text into any of the fields (like "title") is also slow. When I type into one of these fields, the characters appear slowly, one after the other. @Arnei, do you know if this is also caused by the backend code that you mentioned and fixed with #1375? Or is this a completely different issue?
snoesberger commentedon Aug 20, 2025
I don't think the problem with slow text entry is related to this issue. Therefore, I have created a new issue: #1406