Changing event access policy with Stream Security enabled causes published videos to become unresponsive

Steps to reproduce

Steps to reproduce:
1. Enable Stream Security (see attached for config)
2.
3. Change some working event's access policy (or its associated series policies) in UI
4. Try playing it through Engage interface or external link

Actual Results:
Video can no longer be loaded

Expected Results:
Video should be loaded normally with new access policies updated

Workaround (if any):
Retract every publication of this event and publish again

When the access policy is changed, I get this error in the console: 400 The mandatory 'policy' query string parameter had an empty value.

This is a before and after look of the url called for the video through the Engage interface:

BEFORE CHANGE (everything working)

https://opencast.server/static/mh_default_org/engage-player/beac3f49-6631-42e9-9150-59e4083d68db/0f06fdcf-1a17-4e09-95b8-083f5b4477ac/PHYS_exemple_intro_LOI_COULOMB.mp4?policy=eyJTdGF0ZW1lbnQiOnsiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6MTUwOTEzNTkxNjE2NiwiSXBBZGRyZXNzIjoiMTMyLjIwNy4yMi4xMTUifSwiUmVzb3VyY2UiOiJodHRwczpcL1wvb3BlbmNhc3QucG9seW10bC5jYVwvc3RhdGljXC9taF9kZWZhdWx0X29yZ1wvZW5nYWdlLXBsYXllclwvYmVhYzNmNDktNjYzMS00MmU5LTkxNTAtNTllNDA4M2Q2OGRiXC8wZjA2ZmRjZi0xYTE3LTRlMDktOTViOC0wODNmNWI0NDc3YWNcL1BIWVNfZXhlbXBsZV9pbnRyb19MT0lfQ09VTE9NQi5tcDQifX0&keyId=cle&signature=d758c07d23b92a11235311eb0c8217b3ad49227bdea2af1a59fe79f6a4d29e03

AFTER CHANGE (no longer working)

https://opencast.server/static/mh_default_org/engage-player/beac3f49-6631-42e9-9150-59e4083d68db/0f06fdcf-1a17-4e09-95b8-083f5b4477ac/PHYS_exemple_intro_LOI_COULOMB.mp4?policy=eyJTdGF0ZW1lbnQiOnsiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6MTUwOTEzNjE2NDA2MCwiSXBBZGRyZXNzIjoiMTMyLjIwNy4yMi4xMTUifSwiUmVzb3VyY2UiO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NMVFJsTURrdE9UVmlPQzB3T0RObU5XSTBORGMzWVdOY0wxQklXVk5mWlhobGJYQnNaVjlwYm5SeWIxOU1UMGxmUTA5VlRFOU5RaTV0Y0RRaWZYMCZrZXlJZD1jbGUmc2lnbmF0dXJlPTE4NzcyMGJkZTc2ZjExNzI2ZGY5NjJiYmZkZTNiMjVlMjc5Y2Q1NDY0MTljNzY4ZTNiMTYwMTczZTcwZDU3OWIifX0&keyId=cle&signature=baa33d1787168511c7ab734c8e007f859ce7d68d449bd34db74eec65707419f6

Status

Assignee

Unassigned

Reporter

David Lachambre

Severity

Incorrectly Functioning With Workaround

Tags (folksonomy)

None

Components

Fix versions

Affects versions

3.3

Priority

Major
Configure