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

Event "fileconverter_librelambda\event\start_document_conversion" has not implemented mapping for backup/restore. #54

Open
andrewmadden opened this issue Sep 30, 2021 · 1 comment

Comments

@andrewmadden
Copy link

andrewmadden commented Sep 30, 2021

Error caught during a course restore on a Moodle 3.9 site. Still need to test if it is happening in vanilla Moodle and which versions. Dropping the stack trace here so it doesn't get lost.

In order to restore course logs accurately the event "fileconverter_librelambda\event\start_document_conversion" must define the function get_other_mapping().

    line 591 of /lib/classes/event/base.php: call to debugging()
    line 122 of /admin/tool/log/backup/moodle2/restore_tool_log_logstore_subplugin.class.php: call to core\event\base::get_other_mapping()
    line 63 of /admin/tool/log/store/standard/backup/moodle2/restore_logstore_standard_subplugin.class.php: call to restore_tool_log_logstore_subplugin->process_log()
    line 137 of /backup/util/plan/restore_structure_step.class.php: call to restore_logstore_standard_subplugin->process_logstore_standard_log()
    line 121 of /backup/util/helper/restore_structure_parser_processor.class.php: call to restore_structure_step->process()
    line 178 of /backup/util/xml/parser/processors/grouped_parser_processor.class.php: call to restore_structure_parser_processor->dispatch_chunk()
    line 109 of /backup/util/helper/restore_structure_parser_processor.class.php: call to grouped_parser_processor->postprocess_chunk()
    line 148 of /backup/util/xml/parser/processors/simplified_parser_processor.class.php: call to restore_structure_parser_processor->postprocess_chunk()
    line 92 of /backup/util/xml/parser/processors/progressive_parser_processor.class.php: call to simplified_parser_processor->process_chunk()
    line 190 of /backup/util/xml/parser/progressive_parser.class.php: call to progressive_parser_processor->receive_chunk()
    line 278 of /backup/util/xml/parser/progressive_parser.class.php: call to progressive_parser->publish()
    line ? of unknownfile: call to progressive_parser->end_tag()
    line 179 of /backup/util/xml/parser/progressive_parser.class.php: call to xml_parse()
    line 158 of /backup/util/xml/parser/progressive_parser.class.php: call to progressive_parser->parse()
    line 110 of /backup/util/plan/restore_structure_step.class.php: call to progressive_parser->process()
    line 181 of /backup/util/plan/base_task.class.php: call to restore_structure_step->execute()
    line 210 of /backup/moodle2/restore_activity_task.class.php: call to base_task->execute()
    line 191 of /backup/util/plan/base_plan.class.php: call to restore_activity_task->execute()
    line 168 of /backup/util/plan/restore_plan.class.php: call to base_plan->execute()
    line 394 of /backup/controller/restore_controller.class.php: call to restore_plan->execute()
    line 219 of /backup/util/ui/restore_ui.class.php: call to restore_controller->execute_plan()
    line 143 of /backup/restore.php: call to restore_ui->execute()
@mdjnelson
Copy link

Heh. I wrote that error code in core and the following docs https://docs.moodle.org/dev/Events_API#Backup.2Frestore :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants