We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When installing a fresh instance (v5.1.1 - ILIAS 7), the Player settings tab in plugin configuration throws error and won't open.
To Reproduce Steps to reproduce the behavior:
Culprit src/UI/PaellaConfig/PaellaConfigFormBuilder.php:
src/UI/PaellaConfig/PaellaConfigFormBuilder.php
Line 62: PluginConfig::getConfig(PluginConfig::F_PAELLA_OPTION)
PluginConfig::getConfig(PluginConfig::F_PAELLA_OPTION)
Line 67: PluginConfig::getConfig(PluginConfig::F_PAELLA_OPTION_LIVE)
PluginConfig::getConfig(PluginConfig::F_PAELLA_OPTION_LIVE)
Solution Since F_PAELLA_OPTION and F_PAELLA_OPTION_LIVE both must have the value 'default' initially, why not adding them in the code like:
F_PAELLA_OPTION
F_PAELLA_OPTION_LIVE
default
PluginConfig::getConfig(PluginConfig::F_PAELLA_OPTION) ?? 'default'
PluginConfig::getConfig(PluginConfig::F_PAELLA_OPTION_LIVE) ?? 'default'
Expected behavior The Player tab on a fresh installation has to be accessible no matter what!
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered:
Fixed with #186
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Description
When installing a fresh instance (v5.1.1 - ILIAS 7), the Player settings tab in plugin configuration throws error and won't open.
To Reproduce
Steps to reproduce the behavior:
Culprit
src/UI/PaellaConfig/PaellaConfigFormBuilder.php
:Line 62:
PluginConfig::getConfig(PluginConfig::F_PAELLA_OPTION)
Line 67:
PluginConfig::getConfig(PluginConfig::F_PAELLA_OPTION_LIVE)
Solution
Since
F_PAELLA_OPTION
andF_PAELLA_OPTION_LIVE
both must have the value 'default
' initially, why not adding them in the code like:PluginConfig::getConfig(PluginConfig::F_PAELLA_OPTION) ?? 'default'
PluginConfig::getConfig(PluginConfig::F_PAELLA_OPTION_LIVE) ?? 'default'
Expected behavior
The Player tab on a fresh installation has to be accessible no matter what!
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: