Describe the bug
base.zip / install.xml assumes the contextid for the systemcontext = 1 in all moodle installations leading to a broken plugin installation and display errors
To Reproduce
Steps to reproduce the behavior:
- Have a moodle installation where the contextid for the systemcontext is not 1 (hard part ;) )
- Install the plugin.
- Open the preview all page: YOURMOODLE/lib/editor/tiny/plugins/elements/previewall.php
- The pluginfile.php paths for all images loaded during installtion are broken.
Screenshots
Additional context
I assume (but have not tested it) that the behaviour would be the same then importing elements from a moodle with systemcontext id 1 into a system with a different systemcontext id and vice versa.
Not sure if this actually needs to be fixed at a high priority as it should only affect very few users (and can be fixed by modifying the database) but I think opening the issue for reference does not hurt.
Describe the bug
base.zip / install.xml assumes the contextid for the systemcontext = 1 in all moodle installations leading to a broken plugin installation and display errors
To Reproduce
Steps to reproduce the behavior:
Screenshots
Additional context
I assume (but have not tested it) that the behaviour would be the same then importing elements from a moodle with systemcontext id 1 into a system with a different systemcontext id and vice versa.
Not sure if this actually needs to be fixed at a high priority as it should only affect very few users (and can be fixed by modifying the database) but I think opening the issue for reference does not hurt.