-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
4.1.6, 4.2.5, 4.3.2
-
MOODLE_401_STABLE, MOODLE_402_STABLE, MOODLE_403_STABLE
Good day team,
This bug seems to be related to MDL-24414, but back in the day, the issue was not replicated.
The problem is that when you create a forum activity, with post ratings enabled, and with a value on the ID number field, this ID number gets overridden when a post is rated.
I have recorded this video which shows the steps to replicate, I recommend watching it at twice the speed.
These are the steps to replicate from the video, in text form:
Steps to replicate
- Login as a teacher, and go to a course.
- Create a forum activity.
Fill the name and description for the forum activity.
In the Whole forum grading section, on the Type dropdown, select "Point".
In the Ratings section, on the Aggregate type dropdown, select "Maximum rating".
In the Common module settings, in the ID number text field, type in any text.
Click on "Save and return to course". - Back in the course, go to Grades -> Gradebook setup.
Scroll down and click on Edit, then click on "Edit calculation". - Check the ID number of the forum activity created on step 2. It matches the ID number you input also on step 2.
- Login as a student enrolled on the same course from step 1 (or use an incágni session a different browser session).
- Go to that course, then enter the forum created on step 2.
- Add a discussion topic. Input any subject and message, then click on "Post to forum".
- Login as the teacher from step 1 again, go back to the course.
- Go to the forum, enter the post created by the student user.
- In the Maximum rating dropdown, select any rating. In this very moment, the ID number of the forum has been overridden (you could check the DB to see this).
- Go back to the course, then go to Grades -> Gradebook setup.
Scroll down and click on Edit, then click on "Edit calculation". - Check the ID number of the forum activity, now the ID number is shown with its value overridden with a number.
Expected behavior
On step 12, the ID number matches the original ID number that was set on step 2.
Observed behavior
On step 12, the ID number is replaced with digits.
- has a non-specific relationship to
-
MDL-68618 Forum idnumber update not working
- Closed