Hi, we recently developed a custom plugin and we noticed that while we were doing course backup, traces of topicsactivitycards were found in the backup xml causing problems.
The only solution was to uninstall topicsactivitycards from every instance we wanted to install our plugin and have functional backup/restore functionality but that sometimes can't happen with some clients.
After some research on how Moodle aggregates data, it seems that a possible fix is to add:
if ($this->courseformat !== "formatname") { return []; }
at the start of define_course_plugin_structure and define_module_plugin_structure methods of the backup_format class.
Could you please roll out an update to fix topicsactivitycards plugin hijacking course backups?
Thank you.
Hi, we recently developed a custom plugin and we noticed that while we were doing course backup, traces of topicsactivitycards were found in the backup xml causing problems.
The only solution was to uninstall topicsactivitycards from every instance we wanted to install our plugin and have functional backup/restore functionality but that sometimes can't happen with some clients.
After some research on how Moodle aggregates data, it seems that a possible fix is to add:
if ($this->courseformat !== "formatname") { return []; }at the start of define_course_plugin_structure and define_module_plugin_structure methods of the backup_format class.
Could you please roll out an update to fix topicsactivitycards plugin hijacking course backups?
Thank you.