-
Bug
-
Resolution: Fixed
-
Minor
-
4.5
-
MOODLE_405_STABLE
-
MOODLE_405_STABLE
-
main_
MDL-83158 -
I've noticed the following exception while inspecting a PHPUnit run:
........................................................... 59 / 23770 ( 0%)
|
........................................................... 118 / 23770 ( 0%)
|
.........................................SS................ 177 / 23770 ( 0%)
|
..Unknown exception when starting database session : dummy - Undefined property: stdClass::$id
|
......................................................... 236 / 23770 ( 0%)
|
See this build for instance
The issue started after MDL-66151 was integrated.
To reproduce, simply run the dml_read_slave_test unit test:
$ bin/moodle-docker-compose exec webserver vendor/bin/phpunit --filter=dml_read_slave_test
|
Moodle 4.5dev+ (Build: 20240829), e52fbd2f8402765f3e96fe8f58186c419533bbed
|
Php: 8.2.8, pgsql: 13.11 (Debian 13.11-1.pgdg110+1), OS: Linux 5.15.0-119-generic x86_64
|
PHPUnit 9.6.18 by Sebastian Bergmann and contributors.
|
|
............Unknown exception when starting database session : dummy - Undefined property: stdClass::$id
|
. 13 / 13 (100%)
|
|
Time: 00:08.222, Memory: 320.00 MB
|
|
OK (13 tests, 73 assertions)
|
- blocks
-
MDLQA-19189 CLONE - File and database session handlers can be used to manage users sessions
-
- Passed
-
- Discovered while testing
-
MDLQA-19189 CLONE - File and database session handlers can be used to manage users sessions
-
- Passed
-
- is a regression caused by
-
MDL-66151 Performance: Allow session stores to fully manage the session
-
- Closed
-