Skip to content

Fun with metadata and h5p #24

Description

@stuartlamour

Hi Mike,

using the "Use metadata for modules" with h5p. Works fine when you create the resource, but gives an error when you try and edit.

Screenshot 2019-10-21 at 15 18 52

line 494 of /lib/setuplib.php: moodle_exception thrown
line 182 of /mod/hvp/mod_form.php: call to print_error()
line 481 of /course/moodleform_mod.php: call to mod_hvp_mod_form->data_preprocessing()
line 206 of /local/metadata/context/module/classes/context_handler.php: call to moodleform_mod->set_data()
line 421 of /local/metadata/lib.php: call to metadatacontext_module\context_handler->coursemodule_standard_elements()
line 749 of /course/moodleform_mod.php: call to local_metadata_coursemodule_standard_elements()
line 737 of /course/moodleform_mod.php: call to moodleform_mod->plugin_extend_coursemodule_standard_elements()
line 118 of /mod/hvp/mod_form.php: call to moodleform_mod->standard_coursemodule_elements()
line 206 of /lib/formslib.php: call to mod_hvp_mod_form->definition()
line 99 of /course/moodleform_mod.php: call to moodleform->__construct()
line 141 of /course/modedit.php: call to moodleform_mod->__construct()

Anyone else found this or a workaround?

Cheers
Stuart

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions