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

Version number typo #111

Open
eclectics opened this issue Apr 23, 2024 · 5 comments
Open

Version number typo #111

eclectics opened this issue Apr 23, 2024 · 5 comments

Comments

@eclectics
Copy link

$plugin->version = 2924022000;
should be 2024022000 ?

@marcusgreen
Copy link
Owner

Oh gosh yes, it should have been yesterdays date. Can you confirm my update makes sense. Thank you for letting me know.

@corti
Copy link

corti commented Jun 12, 2024

I cannot update the plugin since Moodle does detect I have a more recent version due to the version label error. I have tried removing the 2924022000 from the database with no success.
gapfillqtype_gapfill | 2924022000
There is a request to install plugin Gapfill (qtype_gapfill) version 2024042300 from the Moodle plugins directory on this site. However, the plugin installation pre-check failed (reason code: cannotdowngrade).

@marcusgreen
Copy link
Owner

The only way to fix this is a direct manipulation of the database, either that or I create a one off plugin that does the job, which might take a little time. It would change a value in the config_plugins table (from memory).

@corti
Copy link

corti commented Jun 18, 2024

I was able to edit the version value from 2923... to 2023042300 from the config_plugins table in order to update to the latest version 2024042300. Cheers

@marcusgreen
Copy link
Owner

Oh good, I was quite concerned about that. Thank you for letting me know. I will be very, very careful in future releases. Can I add your name to the changelog file here
https://github.com/marcusgreen/moodle-qtype_gapfill/blob/master/changelog.md
And what name should I add?

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