Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ILIAS 9] Undefined property: stdClass::$error in class.xoctSecureLink.php:51 when sign player link is active #373

Open
reiferschris opened this issue Nov 21, 2024 · 2 comments
Labels
bug Something isn't working Priority: High Needs to be fixed/taken care of asap

Comments

@reiferschris
Copy link
Contributor

Describe the bug
When signing (for the player link) is active an error is thrown

To Reproduce
Steps to reproduce the behavior:

  1. Activate signing for the player link (stream-security)
  2. Play a video
  3. See error

Expected behavior
Video plays with signed links

Screenshots
If applicable, add screenshots to help explain your problem.

Log

Whoops\Exception\ErrorException thrown with message "Undefined property: stdClass::$error"

Stacktrace:
#18 Whoops\Exception\ErrorException in /srv/www/project1/Customizing/global/plugins/Services/Repository/RepositoryObject/OpenCast/classes/class.xoctSecureLink.php:51
#17 ilErrorHandling:handlePreWhoops in /srv/www/project1/Customizing/global/plugins/Services/Repository/RepositoryObject/OpenCast/classes/class.xoctSecureLink.php:51
#16 xoctSecureLink:sign in /srv/www/project1/Customizing/global/plugins/Services/Repository/RepositoryObject/OpenCast/classes/class.xoctSecureLink.php:116
#15 xoctSecureLink:signPlayer in /srv/www/project1/Customizing/global/plugins/Services/Repository/RepositoryObject/OpenCast/src/Util/Player/StandardPlayerDataBuilder.php:235
#14 srag\Plugins\Opencast\Util\Player\StandardPlayerDataBuilder:buildSource in /srv/www/project1/Customizing/global/plugins/Services/Repository/RepositoryObject/OpenCast/src/Util/Player/StandardPlayerDataBuilder.php:211
#13 srag\Plugins\Opencast\Util\Player\StandardPlayerDataBuilder:buildStreams in /srv/www/project1/Customizing/global/plugins/Services/Repository/RepositoryObject/OpenCast/src/Util/Player/StandardPlayerDataBuilder.php:62
#12 srag\Plugins\Opencast\Util\Player\StandardPlayerDataBuilder:buildStreamingData in /srv/www/project1/Customizing/global/plugins/Services/Repository/RepositoryObject/OpenCast/classes/Player/class.xoctPlayerGUI.php:76
#11 xoctPlayerGUI:streamVideo in /srv/www/project1/Customizing/global/plugins/Services/Repository/RepositoryObject/OpenCast/classes/class.xoctGUI.php:59
#10 xoctGUI:performCommand in /srv/www/project1/Customizing/global/plugins/Services/Repository/RepositoryObject/OpenCast/classes/class.xoctGUI.php:53
#9 xoctGUI:executeCommand in /srv/www/project1/Services/UICore/classes/class.ilCtrl.php:119
#8 ilCtrl:forwardCommand in /srv/www/project1/Customizing/global/plugins/Services/Repository/RepositoryObject/OpenCast/classes/Event/class.xoctEventGUI.php:170
#7 xoctEventGUI:executeCommand in /srv/www/project1/Services/UICore/classes/class.ilCtrl.php:119
#6 ilCtrl:forwardCommand in /srv/www/project1/Customizing/global/plugins/Services/Repository/RepositoryObject/OpenCast/classes/class.ilObjOpenCastGUI.php:155
#5 ilObjOpenCastGUI:executeCommand in /srv/www/project1/Services/UICore/classes/class.ilCtrl.php:119
#4 ilCtrl:forwardCommand in /srv/www/project1/Services/Repository/classes/class.ilRepositoryGUI.php:244
#3 ilRepositoryGUI:show in /srv/www/project1/Services/Repository/classes/class.ilRepositoryGUI.php:224
#2 ilRepositoryGUI:executeCommand in /srv/www/project1/Services/UICore/classes/class.ilCtrl.php:119
#1 ilCtrl:forwardCommand in /srv/www/project1/Services/UICore/classes/class.ilCtrl.php:92
#0 ilCtrl:callBaseClass in /srv/www/project1/ilias.php:24

Environment (please complete the following information):

  • ILIAS version: [v9.5.0]
  • PHP version: [8.1.2]
  • Plugin version: [https://github.com/ILIAS 9 Support #358]
  • Opencast version [13]
  • Browser: [firefox]

Additional context
Add any other context about the problem here.

@reiferschris reiferschris added the bug Something isn't working label Nov 21, 2024
@reiferschris reiferschris changed the title Undefined property: stdClass::$error in class.xoctSecureLink.php:51 when sign player link is active [ILIAS 9] Undefined property: stdClass::$error in class.xoctSecureLink.php:51 when sign player link is active Nov 29, 2024
@dagraf dagraf moved this from Backlog to Ready in Opencast & Opencast PageComponent Nov 30, 2024
@dagraf dagraf added the Priority: High Needs to be fixed/taken care of asap label Nov 30, 2024
chfsx added a commit to srsolutionsag/OpenCast that referenced this issue Dec 2, 2024
@chfsx
Copy link
Contributor

chfsx commented Dec 2, 2024

I updated the PR #358 to fix this issue

@dagraf dagraf moved this from Ready to Testing in Opencast & Opencast PageComponent Dec 3, 2024
@dagraf
Copy link

dagraf commented Dec 17, 2024

@reiferschris: Can you please test the fix and close this issue if tests were successfull? Thx!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Priority: High Needs to be fixed/taken care of asap
Projects
Status: Testing
Development

No branches or pull requests

3 participants