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

Moodle 2.5 beta uses old version of download.moodle.org API services

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.5
    • Fix Version/s: 2.5
    • Component/s: Libraries
    • Labels:
    • Testing Instructions:
      Hide

      Testing difficulty: medium (requires simulated downgrade)

      1. Modify the main version.php and set $version into the past (one day into the past is enough)
      2. Set the same version in DB as well, e.g.

        UPDATE mdl_config SET value='2013040400' WHERE name='version';
        

      3. Purge caches (as the $CFG->version may be cached):

        $ php admin/cli/purge_caches.php
        

      4. (optional) Delete the currently fetched information about available updates to force new re-fetch instead of using "hot enough" data:

        DELETE FROM mdl_config_plugins WHERE plugin='core_plugin';
        

      5. Make sure you have "Required code maturity" set to Alpha or Beta at Site administration ► Server ► Update notifications
      6. Check for available updates at the Site administration > Notifications screen
      7. TEST: Make sure that the recent Moodle 2.5 is reported as available update for your site.
      Show
      Testing difficulty: medium (requires simulated downgrade) Modify the main version.php and set $version into the past (one day into the past is enough) Set the same version in DB as well, e.g. UPDATE mdl_config SET value='2013040400' WHERE name='version'; Purge caches (as the $CFG->version may be cached): $ php admin/cli/purge_caches.php (optional) Delete the currently fetched information about available updates to force new re-fetch instead of using "hot enough" data: DELETE FROM mdl_config_plugins WHERE plugin='core_plugin'; Make sure you have "Required code maturity" set to Alpha or Beta at Site administration ► Server ► Update notifications Check for available updates at the Site administration > Notifications screen TEST: Make sure that the recent Moodle 2.5 is reported as available update for your site.
    • Affected Branches:
      MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-39056-download-api-version

      Description

      For 2.5, we have developed new version of download.moodle.org API services - 1.2 (the version 1.2 of the API adds a new service called pluginfo.php). It was agreed by David Mudrák (@mudrd8mz) and Eloy Lafuente (stronk7) that other parts of code that call this API (such as checking for available updates) should switch to the version of API (even if there is no real change in their services). This will minimize the "runaway train" problem in the future.

        Attachments

          Activity

            People

            • Assignee:
              mudrd8mz David Mudrák (@mudrd8mz)
              Reporter:
              mudrd8mz David Mudrák (@mudrd8mz)
              Integrator:
              Eloy Lafuente (stronk7)
              Tester:
              Ankit Agarwal
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                14/May/13