Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-81183

Unable to install available plugin update due to false "Required Moodle version" validation failure

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 4.3
    • Administration

      When upgrading the Moodle core, it is recommended to upgrade all the additional plugins as well. It turns out there are cases when some available updates cannot be automatically deployed due to unexpected "Required Moodle version" validation check failure.

      Steps to reproduce

      1. Install Moodle 4.1

        mdk install -v 401

      2. Install https://moodle.org/plugins/editor_marklar version 1.0.0-beta.3 (2021060901)
      3. Switch the core code base to Moodle 4.2

        git checkout -b MOODLE_402_STABLE origin/MOODLE_402_STABLE

      4. Go to the /admin
      5. At the Plugins check page, press the "Check for available updates" and see that there is an available update for Moodle 4.2 (e.g. 2024030601 or higher)
      6. Attempt to install this reported available update for the Marklar editor via the "Install this update" button

      Expected behaviour:

      The reported available update should be fetched and deployed.

      Actual buggy behaviour:

      The new version does not pass validation with the error:

      [Error] Required Moodle version [2023042400] 
      Installation aborted due to validation failure
      

            Unassigned Unassigned
            mudrd8mz David Mudrák (@mudrd8mz)
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 hours
                3h

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.