learnweb / moodle-mod_moodleoverflow

:speech_balloon: Non-linear discussion module for Q&A forums
GNU General Public License v3.0
12 stars 22 forks source link

No objectid mapping when importing a backed up course #184

Open TamaroWalter opened 4 months ago

TamaroWalter commented 4 months ago

Error: Importing a previous backup from a course with moodleoverflows is not possible Error Message: In order to restore course logs accurately the event "mod_moodleoverflow\event\course_module_viewed" must define the function get_objectid_mapping(). How to reproduce: Make a backup of a course with moodleoverflows and include the user data. Then create a new course, select "course reuse" and import the backup.