adlnet / Moodle-mod_cmi5launch

A Moodle plugin which allows teachers to upload cmi5 packaged lessons within a Moodle Course Activity and then assign the activity to students
Apache License 2.0
5 stars 4 forks source link

Fatal error referencing lmsid column during fresh install #36

Closed logan-reynolds closed 4 months ago

logan-reynolds commented 5 months ago

When going to install the latest version 2024030615 fresh (mod_cmi5launch commitid 60004c2 on GitHub) on Moodle 3.11 with no prior version installed, the following error is encountered because it appears there are references to the 'lmsid' column in one or more tables which do not contain that column (see index on the cmi5launch_sessions table and others in install.xml):

-->mod_cmi5launch
Default exception handler: DDL sql execution error Debug: Key column 'lmsid' doesn't exist in table

This would need to be resolved so the plugin can be initially installed successfully off this latest version.

ADLMeganBohland commented 5 months ago

@logan-reynolds Hi! So I pushed a fix, can you test and let me know if that solved the issue?

ADLMeganBohland commented 4 months ago

Closing, I tested and believe commit c956e04 repairs this.