You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’ve identified an issue that occurs when the filter_wiris plugin is enabled alongside the Tiny editor in Moodle. Specifically, there is a plugin setting type called admin_setting_confightmleditor, which creates a setting using an HTML editor. Since Tiny is the default editor in Moodle, it is the one used for this setting.
If the filter_wiris plugin is enabled and another plugin with this setting type is added, the page at <site url>/admin/upgradesettings.php becomes inaccessible. This issue arises because caching is disabled on that page, which triggers an exception in the filter_wiris code. The exception is in the FolderTreeStorageAndCache.class.php file, located here: filter/wiris/integration/lib/com/wiris/plugin/impl/FolderTreeStorageAndCache.class.php#L63 and here https://github.com/wiris/moodle-filter_wiris/blob/main/integration/lib/com/wiris/plugin/impl/FolderTreeStorageAndCache.class.php#L35.
This is a more detailed explanation on how to replicate the error:
Have a site with Tiny editor enabled by default.
Add a new plugin or, using a code editor, modify the settings of an existing plugin to add new setting that uses the admin_setting_confightmleditor setting type. This can be done modifying the settings.php file from the plugin and adding a code like this:
Thank you for reporting this! We've moved this suggestion to the next step and will let you know once we start working on it and once it is released. Any further issues, please feel free to contact us again.
Hi everyone,
I’ve identified an issue that occurs when the
filter_wiris
plugin is enabled alongside the Tiny editor in Moodle. Specifically, there is a plugin setting type calledadmin_setting_confightmleditor
, which creates a setting using an HTML editor. Since Tiny is the default editor in Moodle, it is the one used for this setting.If the
filter_wiris
plugin is enabled and another plugin with this setting type is added, the page at<site url>/admin/upgradesettings.php
becomes inaccessible. This issue arises because caching is disabled on that page, which triggers an exception in thefilter_wiris
code. The exception is in theFolderTreeStorageAndCache.class.php
file, located here: filter/wiris/integration/lib/com/wiris/plugin/impl/FolderTreeStorageAndCache.class.php#L63 and here https://github.com/wiris/moodle-filter_wiris/blob/main/integration/lib/com/wiris/plugin/impl/FolderTreeStorageAndCache.class.php#L35.This is a more detailed explanation on how to replicate the error:
admin_setting_confightmleditor
setting type. This can be done modifying thesettings.php
file from the plugin and adding a code like this:<site url>/admin/upgradesettings.php
.The text was updated successfully, but these errors were encountered: