Moodle
  1. Moodle
  2. MDL-30955

Forum average of ratings incorrectly displayed

    Details

    • Database:
      Any
    • Testing Instructions:
      Hide

      For this test you need a course with 3 users - at least 2 need to be teachers (or admin).

      1. Go to Course Admin > Grades > Scales > Add a nwe scale
      2. Add a scale named 'Cool', with the scale of 'Very Cool, Cool, Not Cool, Ooooh!'
      3. Add a forum to the course use default settings except for ratings. Set the aggregate type of 'Average of Ratings' and 'Scale' as 'Cool'
      4. As user 1 (the student) post a forum post
      5. As teacher 1 rate that forum post as 'Very Cool'
      6. As teacher 2 rate that forum post as 'Very Cool'
      7. As teacher 2 re-rate that forum post as 'Ooooh!'

      Click on the rating aggregate need to the rating. The resulting page should say that teacher1 has rated as: 'Very Cool' and teacher2 as 'Oooh!'

      Create a separate forum set up the same but with the rating scale set to 5.
      Again, have the student post then the teachers/admin rate.
      Check that the rating report page correctly reports the ratings submitted by the two teachers.

      Show
      For this test you need a course with 3 users - at least 2 need to be teachers (or admin). Go to Course Admin > Grades > Scales > Add a nwe scale Add a scale named 'Cool', with the scale of 'Very Cool, Cool, Not Cool, Ooooh!' Add a forum to the course use default settings except for ratings. Set the aggregate type of 'Average of Ratings' and 'Scale' as 'Cool' As user 1 (the student) post a forum post As teacher 1 rate that forum post as 'Very Cool' As teacher 2 rate that forum post as 'Very Cool' As teacher 2 re-rate that forum post as 'Ooooh!' Click on the rating aggregate need to the rating. The resulting page should say that teacher1 has rated as: 'Very Cool' and teacher2 as 'Oooh!' Create a separate forum set up the same but with the rating scale set to 5. Again, have the student post then the teachers/admin rate. Check that the rating report page correctly reports the ratings submitted by the two teachers.
    • Affected Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE
    • Fixed Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE
    • Pull Master Branch:
      MDL-30955_forum_ratings
    • Rank:
      37355

      Description

      As illustrated in the discussion http://moodle.org/mod/forum/discuss.php?d=193117 a forum post rated several times as 'Very cool' has the average of ratings displayed as 'Coolest thing ever!' rather than 'Very cool'.

        Issue Links

          Activity

            People

            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: