Matterhorn has to be restarted to schedule an event on a new capture device

Steps to reproduce

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.

Activity

Show:
Lars Kiesow
May 20, 2015, 1:00 AM

, you said you might know where this problem comes from.
Can you have a look at this?

Michael Stypa
April 4, 2016, 9:46 PM
Edited

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

Michael Stypa
April 4, 2016, 10:17 PM

Tested again: Did not work without page reload.

Tobias Schiebeck
May 6, 2016, 3:00 AM

Merged as PR #893 commit 254db32

Tobias Schiebeck
June 3, 2016, 9:58 PM

Merged as PR #1016 commit 60581f5

Fixed and reviewed

Assignee

Michael Stypa

Reporter

Rüdiger Rolf

Severity

Incorrectly Functioning With Workaround

Tags (folksonomy)

Components

Fix versions

Affects versions

Priority

Critical