catalyst / moodle-local_datacleaner

Reduce, filter, and anonymize moodle data for non-prod environments
https://moodle.org/plugins/local_datacleaner
19 stars 17 forks source link

Master branch has a higher version than MOODLE_310_STABLE #138

Open golenkovm opened 3 years ago

golenkovm commented 3 years ago

I got an error during upgrade. I'm upgrading Moodle 3.6 site with the latest local_datacleaner plugin (master branch) up to Moodle 3.11 with the latest local_datacleaner plugin (MOODLE_310_STABLE branch).

!!! Cannot downgrade local_datacleaner from 2021073000 to 2021051000. !!!
!! 
Error code: cannotdowngrade !!
!! Stack trace: * line 731 of /lib/upgradelib.php: downgrade_exception thrown
* line 1929 of /lib/upgradelib.php: call to upgrade_plugins()
* line 202 of /admin/cli/upgrade.php: call to upgrade_noncore()
 !!
golenkovm commented 3 years ago

It seems like we need to restrain master version bumping up to the current date to make sure that MOODLE_310_STABLE is always higher than master version. Increasing last digit of the master version would be fine.