Opencast-Moodle / moodle-block_opencast

Block to manage Opencast publications in moodle
21 stars 27 forks source link

[block_opencast v4.4-r1] inconsistency between upgrade.php and versions.php #381

Open mwuttke opened 3 weeks ago

mwuttke commented 3 weeks ago

There is a versionsstring inconsistency between upgrade.php and versions.php

If you try to upgrade the block_opencast plugin from version v4.3-r2 to v4.4-r1 the new table block_opencast_importmapping will not be installed, because of the inconsistency between the savepoint number in the upgrade.php and the version number of the versions.php

We have tested with Moodle 4.1.11 and the block_opencast version 4.4-r1.

NinaHerrmann commented 3 weeks ago

We could reproduce that. The fastest fix would be to adjust the upgrade.php to insert the table conditionally.