Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
3.9.9, 3.10.6, 3.11.2, 4.0, 4.1
-
MOODLE_310_STABLE, MOODLE_311_STABLE, MOODLE_39_STABLE, MOODLE_400_STABLE, MOODLE_401_STABLE
-
MOODLE_401_STABLE
-
MDL-72283_allow-customisation-of-redis-session-handler-errors -
Description
The exceptions raised by the Redis session handler are hardcoded in English. It would be nice if these could be customised/internationalised. For example, "unable to obtain session lock" is not all that useful to the end user. They need to be told they have to close and re-open their browser, or to wait until the session lock timeout (usually 2 mins) has passed.
I think this means (at minimum) that the "unable to obtain session lock" exception should be changed to a moodle_exception and a language pack installed.
Attachments
Issue Links
- has a non-specific relationship to
-
MDL-59579 Improve format_time() to be more human readable or replace / augment with new renderer / template
-
- Closed
-
- has been marked as being related by
-
MDL-72584 Redact all session ids in debugging and error_log
-
- Open
-
-
MDL-68668 Early warning session lock debugging for redis session handler
-
- Closed
-
- Testing discovered
-
MDL-74819 Logout doesn't work if you can't get a session lock
-
- Open
-