Details
-
Bug
-
Resolution: Fixed
-
Minor
-
2.3.2, 2.4
-
MOODLE_23_STABLE, MOODLE_24_STABLE
-
MOODLE_23_STABLE
-
MDL-35344-updates -
Description
Steps to reproduce:
1. Install Moodle 2.3
2. Check for available updates via executing cron or manually via admin UI
3. Upgrade the site to 2.4dev
4. Execute cron.php
Expected result: Recently fetched data were valid for 2.3. Thence they are discarded and fresh data for 2.4 branch are fetched
What currently happens: Coding error exception is thrown
Outdated or missing info about available updates, forced fetching ... Default exception handler: Coding error detected, it must be fixed by a programmer: PHP catchable fatal error Debug: Argument 1 passed to available_update_checker::compare_responses() must be an array, null given, called in /home/mudrd8mz/public_html/moodle23tmp/lib/pluginlib.php on line 1152 and defined
Error code: codingerror
- line 397 of /lib/setuplib.php: coding_exception thrown
- line 901 of /lib/pluginlib.php: call to default_error_handler()
- line 1152 of /lib/pluginlib.php: call to available_update_checker->compare_responses()
- line 775 of /lib/pluginlib.php: call to available_update_checker->cron_execute()
- line 394 of /lib/cronlib.php: call to available_update_checker->cron()
- line 61 of /admin/cli/cron.php: call to cron_run()
Attachments
Issue Links
- Testing discovered
-
MDL-35109 Moodle sites are fetching available updates too often
-
- Closed
-