Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-85226

Pin mongodb extension version for Moodle 4.1 in GitHub Actions

XMLWordPrintable

      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 

            cfulton Charles Fulton
            cfulton Charles Fulton
            Angelia Dela Cruz Angelia Dela Cruz
            Simey Lameze Simey Lameze
            CiBoT CiBoT
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 56 minutes
                56m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.