Steps to reproduce:
1. Load up the recordings/events page
2. Add a capture agent that was not set up before [1]
3. Click "Add Event"
Actual Result:
The newly added Capture Agent does not appear in the list of available locations/rooms/capture agents in the Schedule section.
When you reload the page the actual list of CA show up in the wizzard.
Expected Result:
The newly added CA should show up in the dropdown. At least it should show up as soon as you close the "Add Event" wizard and open it up again.
In general:
This missing update of new data without page reload appears in a couple of places. This will be represented in specific tickets and following pull requests.
, you said you might know where this problem comes from.
Can you have a look at this?
I just tested with [1] and the capture device showed up in the room dropdown without restarting anything.
[1] curl -i -s -f --digest -u opencast_system_account:CHANGE_ME --request POST -H "X-Requested-Auth: Digest" --data state=idle 'http://localhost:8080/capture-admin/agents/test'
edit: to clarify: i tested on uptodate r/2.1.x 5ddadbb
Tested again: Did not work without page reload.
Merged as PR #893 commit 254db32
Merged as PR #1016 commit 60581f5