-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
4.2.11, 4.3.9, 4.4.5, 4.5
I've been going through error logs and have noticed a large number of read only session changed errors from multiple lib/ajax services that haven't defined 'readonlysession' (which defaults to false). One such example:
Script /lib/ajax/service.php?sesskey=xxx&info=mod_assign_list_participants defined READ_ONLY_SESSION but the following SESSION attributes were changed: $SESSION->mod_assign_useridlist
From my testing this only occurs when $CFG->enable_read_only_sessions is true but $CFG->enable_read_only_sessions_debug is not.
It appears to be a regression from MDL-81192, which added a check in restart_with_write_lock() so that self::$requireslockdebug is only altered if $CFG->enable_session_lock_debug is true.
- has been marked as being related by
-
MDL-81052 getnavbranch defined READ_ONLY_SESSION but attempts to change $SESSION->activegroup
-
- Open
-