marcusgreen / moodle-qtype_gapfill

Fill in the blanks question type with very easy to learn syntax
6 stars 20 forks source link

Version number typo #111

Open eclectics opened 7 months ago

eclectics commented 7 months ago

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

marcusgreen commented 7 months ago

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

corti commented 5 months ago

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 commented 5 months ago

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 commented 5 months ago

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 commented 5 months ago

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?