studentquiz / moodle-mod_studentquiz

Moodle-Plugin
GNU General Public License v3.0
38 stars 37 forks source link

StudentQuiz prevents updating Moodle's plugin database #468

Open FloMiLe opened 12 months ago

FloMiLe commented 12 months ago

I have upgraded to Moodle 4.3 today. Afterwards, I wanted to upgrade installed plugins. But now I am stuck in the process. When I try to "Upgrade the database" StudentQuiz causes a dependencies check to fail, see screenshot below. So now I can neither finish nor abort the process.

Would this need to be fixed in a new release of StudentQuiz or can I somehow fix this myself?

Screenshot 2023-10-10 at 14 21 53

FloMiLe commented 12 months ago

I have circumnavigated this issue:

  1. I manually commented the $plugin->incompatible setting in version.php of StudentQuiz v4.7.1.
  2. I upgraded the Moodle database after upgrading to version 4.3.
  3. I changed version.php of StudentQuiz v4.7.1 back.
  4. I installed StudentQuiz v5.1.0 manually from the zip file.

So I'm good now. But I still wonder why I had to manually install StudentQuiz v5.1.0 from the zip file as Moodle's plugin manager did not find/suggest the updated version itself...