Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot upgrade from qtype_multichoiceset 1.9.1 to 1.10.0 #27

Open
ebithell opened this issue Feb 17, 2022 · 2 comments
Open

Cannot upgrade from qtype_multichoiceset 1.9.1 to 1.10.0 #27

ebithell opened this issue Feb 17, 2022 · 2 comments

Comments

@ebithell
Copy link

The $plugin->version numbers in 1.9.1 and 1.10.0 are out of sequence, such that it isn't possible to upgrade from one to the other without tampering with the values.
1.9.1 has $plugin->version = 2021071200;
1.10.0 has $plugin->version = 2021070900;
So Moodle reports an attempt to downgrade the plugin, even though it is actually a version upgrade.
Could you bump the version number and $plugin->version for 1.10.0 such that the plugin upgrade can proceed in the usual way?
Many thanks, in advance!

almadog added a commit to almadog/moodle-qtype_multichoiceset that referenced this issue Mar 15, 2022
@tonyjbutler
Copy link

Please accept almadog's PR.

@janvanl
Copy link

janvanl commented Aug 8, 2022

Hi,
i have copied all files of the 1.10.0 version in place from the master.zip file.
Now if i look at the list of plugins Moodle (4.0.2) tells me that i need to update to 1.9.1.

What do i need to change in the code in order to avoid problems when other plugins need updates?

For now i made the directory unavailable by only giving root access, and changing that back after another plugin updated.

Regards,
Jan

ecampbell added a commit that referenced this issue Aug 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants