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] Download of Video doesn't work: "Undefined array key "extension"" #379

Closed
reiferschris opened this issue Dec 2, 2024 · 3 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 trying to download a video you get an error

To Reproduce
Steps to reproduce the behavior:

  1. Go to a video with a download
  2. Click on Download
  3. See error

Expected behavior
The video should be downloaded or in our case should redirect to the url of the specified in the download publication (External source)

Log
Whoops\Exception\ErrorException thrown with message "Undefined array key "extension""

Stacktrace:
#11 Whoops\Exception\ErrorException in /srv/www/ilias/Customizing/global/plugins/Services/Repository/RepositoryObject/OpenCast/classes/Event/class.xoctEventGUI.php:917
#10 ilErrorHandling:handlePreWhoops in /srv/www/ilias/Customizing/global/plugins/Services/Repository/RepositoryObject/OpenCast/classes/Event/class.xoctEventGUI.php:917
#9 xoctEventGUI:download in /srv/www/ilias/Customizing/global/plugins/Services/Repository/RepositoryObject/OpenCast/classes/class.xoctGUI.php:59
#8 xoctGUI:performCommand in /srv/www/ilias/Customizing/global/plugins/Services/Repository/RepositoryObject/OpenCast/classes/Event/class.xoctEventGUI.php:221
#7 xoctEventGUI:performCommand in /srv/www/ilias/Customizing/global/plugins/Services/Repository/RepositoryObject/OpenCast/classes/Event/class.xoctEventGUI.php:181
#6 xoctEventGUI:executeCommand in /srv/www/ilias/Services/UICore/classes/class.ilCtrl.php:119
#5 ilCtrl:forwardCommand in /srv/www/ilias/Customizing/global/plugins/Services/Repository/RepositoryObject/OpenCast/classes/class.ilObjOpenCastGUI.php:155
#4 ilObjOpenCastGUI:executeCommand in /srv/www/ilias/Services/UICore/classes/class.ilCtrl.php:119
#3 ilCtrl:forwardCommand in /srv/www/ilias/Services/Repository/PluginSlot/class.ilObjPluginDispatchGUI.php:61
#2 ilObjPluginDispatchGUI:executeCommand in /srv/www/ilias/Services/UICore/classes/class.ilCtrl.php:119
#1 ilCtrl:forwardCommand in /srv/www/ilias/Services/UICore/classes/class.ilCtrl.php:92
#0 ilCtrl:callBaseClass in /srv/www/ilias/ilias.php:24

Environment (please complete the following information):

  • ILIAS version: [v9.5.0]
  • PHP version: [ 8.1.2-1ubuntu2.19]
  • Plugin version: [https://github.com/ILIAS 9 Support #358]
  • Opencast version [13]
  • Browser: [doesn't matter]
@reiferschris reiferschris added the bug Something isn't working label Dec 2, 2024
@dagraf dagraf moved this from Backlog to Ready in Opencast & Opencast PageComponent Dec 2, 2024
@dagraf dagraf added the Priority: High Needs to be fixed/taken care of asap label Dec 2, 2024
@chfsx
Copy link
Contributor

chfsx commented Dec 2, 2024

I updated the PR #358 fix 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!

@reiferschris
Copy link
Contributor Author

I can confirm that this issue is fixed.

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
Development

No branches or pull requests

3 participants