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

Glossary ratings average is not calculated properly using mssql database

    XMLWordPrintable

Details

    Description

      The average of ratings for a glossary entry is calculated differently depending on the database, but the result should be consistent in all environments.

      See attached behat test to reproduce the bug. I've run the tests using moodle-docker; using the pgsql database the average is calculated as 0.5, whereas using mssql it is calculated as 0 and the test fails.

      Attachments

        Activity

          People

            pholden Paul Holden
            noeldemartin Noel De Martin
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Mathew May Mathew May
            CiBoT CiBoT
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 30 minutes
                1h 30m

                Clockify

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