-
Bug
-
Resolution: Fixed
-
Blocker
-
2.4.1, 2.5
-
MOODLE_24_STABLE, MOODLE_25_STABLE
-
MOODLE_24_STABLE
-
wip-
MDL-38165-m25 -
Moderate
-
- Run unit tests - they cover it nicely.
I was trying to create a unit test for this situation but could not emulate different sessions.
There is a session cache
$cache = cache::make_from_params(cache_store::MODE_SESSION, ...);
I have two users simultaneously working with a website. One of them updates information and purges the cache. The second one still sees the same data it was before purging. If the second user logs out and in, he can see the updated data.
I would expect that when cache is purged, it is purged for all users.
Also I wrote several unit tests that fail:
https://github.com/marinaglancy/moodle/compare/master...wip-MDL-38165-master
- blocks
-
MDL-38147 Create class coursecat for managing and displaying course categories
- Closed