Uploaded image for project: 'Moodle Community Sites'
  1. Moodle Community Sites
  2. MDLSITE-6378

Please can the plugins DB stop me from making stupid mistakes with version.php

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Duplicate
    • moodle.org/plugins
    • None

    Description

      I just fixed a small bug in a plugin, and pushed a new version to the plugins DB. Becuase it is January, I skillfully incremented the version number from 2020121600 to 2020010700. (Doh!)

      I feel that there are two possible fixes for this issue:

      1. I could stop being an idiot.
      2. The plugins database validation code could be improved, to catch this error.

      I currently feel that option 2 would be easier to implement. Please

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              timhunt Tim Hunt
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: