Moodle
  1. Moodle
  2. MDL-39056

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor 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
    • Rank:
      49180

      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 Mudrak 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.

        Activity

        Hide
        David Mudrak added a comment -

        Submitting for integration.

        Show
        David Mudrak added a comment - Submitting for integration.
        Hide
        Eloy Lafuente (stronk7) added a comment -

        Integrated, thanks!

        Show
        Eloy Lafuente (stronk7) added a comment - Integrated, thanks!
        Hide
        Ankit Agarwal added a comment - - edited

        Moodle 2.5beta (Build: 20130405) Version 2013040500 was reported as available.
        Am assuming " recent Moodle 2.5 " refers to last master release ( not integration)
        Passing.

        Show
        Ankit Agarwal added a comment - - edited Moodle 2.5beta (Build: 20130405) Version 2013040500 was reported as available. Am assuming " recent Moodle 2.5 " refers to last master release ( not integration) Passing.
        Hide
        Eloy Lafuente (stronk7) added a comment -

        Your awesome contributions are now part of Moodle, your fav LMS out there.

        Closing this as fixed.

        Many thanks for all the hard work, ciao

        Show
        Eloy Lafuente (stronk7) added a comment - Your awesome contributions are now part of Moodle, your fav LMS out there. Closing this as fixed. Many thanks for all the hard work, ciao

          People

          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: