-
Bug
-
Resolution: Fixed
-
Minor
-
3.8
-
MOODLE_38_STABLE
-
MOODLE_310_STABLE
-
MDL-66928-request-dir-purge-bug -
If you run cron:
php admin/cli/cron.php
And it is processing an adhoc task, and then in another terminal you purge the cache:
php admin/cli/purge_caches.php
Then after the cache is purged the task logging throws an exception because the temp log data has been removed:
PHP Warning: file_get_contents(/var/lib/sitedata/moodle.local/localcache/86df757d-a79c-45b8-80d4-d4a9b95da3ca/c8fe4276-6313-4f5d-89b4-8871e68c7a8a/task.log): failed to open stream: No such file or directory in /var/www/moodle.local/lib/classes/task/database_logger.php on line 77
Warning: file_get_contents(/var/lib/sitedata/moodle.local/localcache/86df757d-a79c-45b8-80d4-d4a9b95da3ca/c8fe4276-6313-4f5d-89b4-8871e68c7a8a/task.log): failed to open stream: No such file or directory in /var/www/moodle.local/lib/classes/task/database_logger.php on line 77
- caused a regression
-
MDL-70518 Question import fails when sys_get_temp_dir() not in open_basedir
- Open
-
MDL-69975 Windows ZipArchive::close() errors with PHPUnit
- Closed
-
MDL-70130 email_to_user() no longer can attach files from request directory
- Closed
-
MDL-70163 Emailing attachment has reliance on $CFG->localrequestdir
- Closed
-
MDL-70348 /lib/upgrade.txt highlights $CFG->localtempdir setting for Moodle 3.10 instead of $CFG->localrequestdir
- Closed
- Discovered while testing
-
MDL-66927 Cron does not process ad hoc tasks which have been queued since cron started
- Closed
- has a non-specific relationship to
-
MDL-68166 Write backup files to localcachedir first, then move in place
- Reopened
-
MDL-44874 Per-request temp directories
- Closed
- has been marked as being related by
-
MDL-70130 email_to_user() no longer can attach files from request directory
- Closed
-
MDL-69088 Make file cache store purges instant with a safe and async purge
- Closed
- will help resolve
-
MDL-69721 mod_folder download saturates localcache
- Closed