-
Bug
-
Resolution: Fixed
-
Minor
-
3.11.6
-
MOODLE_311_STABLE
-
MOODLE_311_STABLE
-
MDL-74438-master -
- Install the attached plugin to local/cachetest
- Run php local/cachetest/test.php
- Verify it outputs "Boolean cached value is false"
To reproduce:
- Install the attached plugin in local/cachetest
- Execute php local/cachetest/test.php
The plugin simply caches the boolean value false, then tries to return it from the cache. The is problematic for situations where you do some expensive operation to determine a boolean result. For example, detecting if there are more than "n" occurrences of a given content hash in the files table.
- is duplicated by
-
MDL-58662 Inconsistent data treatment in file cache results in exception 'Failed to unserialise data from file. Either failed to read, or failed to write.'
-
- Closed
-