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

Invalid info about available updates detected and will be ignored

    XMLWordPrintable

    Details

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

      Testing difficulty: MEDIUM (requires Moodle installation and upgrade)

      1. Install an older Moodle 2.3.x (eg 2.3.2 or 2.3.1 or so) and set $CFG->debugging level to maximum
      2. Check for available updates
      3. TEST: Make sure you are informed about the newest 2.3.y available
      4. Upgrade the server to 2.4
      5. TEST: Make sure there is no debugging "Invalid info about available updates ..." displayed during the upgrade
      6. TEST: Make sure there is no debugging "Invalid info about available updates ..." displayed at the Plugins overview page
      Show
      Testing difficulty: MEDIUM (requires Moodle installation and upgrade) Install an older Moodle 2.3.x (eg 2.3.2 or 2.3.1 or so) and set $CFG->debugging level to maximum Check for available updates TEST: Make sure you are informed about the newest 2.3.y available Upgrade the server to 2.4 TEST: Make sure there is no debugging "Invalid info about available updates ..." displayed during the upgrade TEST: Make sure there is no debugging "Invalid info about available updates ..." displayed at the Plugins overview page
    • Affected Branches:
      MOODLE_24_STABLE
    • Fixed Branches:
      MOODLE_24_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-36494-invalid-update-debugging

      Description

      This is the message - under DEVELOPER debugging level - appeared in upgrading Moodle from the last 2.4alpha to the current 2.4beta.
      It has been shown two times:

      1. the first, when presenting the list of component to be updated:

        Invalid info about available updates detected and will be ignored: Unexpected version of the response format. Please try to re-check for available updates.
        line 916 of /lib/pluginlib.php: call to debugging()
        line 753 of /lib/pluginlib.php: call to available_update_checker->restore_response()
        line 2259 of /lib/pluginlib.php: call to available_update_checker->get_update_info()
        line 145 of /lib/pluginlib.php: call to plugininfo_base->check_available_updates()
        line 317 of /lib/pluginlib.php: call to plugin_manager->get_plugins()
        line 248 of /admin/index.php: call to plugin_manager->all_plugins_ok()

      2. the second, when presenting the list of new settings (note: the error logged you out i.e. you need to set the new settings twice):

        Invalid info about available updates detected and will be ignored: Unexpected version of the response format. Please try to re-check for available updates.
        line 916 of /lib/pluginlib.php: call to debugging()
        line 753 of /lib/pluginlib.php: call to available_update_checker->restore_response()
        line 2259 of /lib/pluginlib.php: call to available_update_checker->get_update_info()
        line 145 of /lib/pluginlib.php: call to plugininfo_base->check_available_updates()
        line 9 of /admin/settings/plugins.php: call to plugin_manager->get_plugins()
        line 6100 of /lib/adminlib.php: call to require()
        line 5987 of /lib/adminlib.php: call to admin_get_root()
        line 14 of /admin/upgradesettings.php: call to admin_externalpage_setup()

      The Moodle instance is able to connect to Internet (e.g. checked by performing the required git pull) so it's not related with the missing of external network accessibility.
      The Moodle instance has two contributed module installed, registered into the Plugins Directory:

      1. Attendance Register
      2. DAVRoot

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                3/Dec/12