-
Bug
-
Resolution: Fixed
-
Trivial
-
4.1.18
-
MOODLE_401_STABLE
-
MOODLE_401_STABLE
-
MDL-85226-401 -
-
-
Same issue as MDL-83320. Moodle 4.1 is incompatible with later versions of the MongoDB extension so the GitHub Actions workflow needs to pin an older version to avoid errors like this one:
1) cachestore_mongodb\store_test::test_collection_name |
Error: Undefined constant MongoDB\Driver\ReadPreference::RP_PRIMARY
|
|
/home/runner/work/moodle/moodle/cache/stores/mongodb/lib.php:148 |
/home/runner/work/moodle/moodle/cache/stores/mongodb/tests/store_test.php:57 |
/home/runner/work/moodle/moodle/lib/phpunit/classes/advanced_testcase.php:80 |