-
Bug
-
Resolution: Fixed
-
Minor
-
4.4 regressions, 4.4
Hello team.
The new functionality added in version 4.4:
*Quiz Improvements in Moodle 4.4 *
https://www.youtube.com/watch?v=AmM5WvEUNy0
Failure in a particular scenario.
When a "Description" question is created within a Heading Section in quiz questions and want to make use of the new functionality "Set up a grade for each section" it generates an incorrect association in the "Description" questions.
Steps to replicate:
- Create a new Course
- In that new Course, create a Quiz
- In the created Quiz, add sections and questions.
- You can create more than one section (minimum 1).
- Each section must have at least 2 questions and one of those questions must be of type "Description" (
) .
- Click on "Grade items setup" in the top selector.
- In the "Grade items setup" view you can see that each section shows all questions except the "Description" questions (
).
- Click on "Set up a grade for each section".
- You can see the "Grade items setup" table where each associated Heading Section cannot be deleted (
).
- When you press the "Reset Setup" button you can see the error (
).
Remarks:
The reason for this error is that at the time of calling function:
`public function update_slot_grade_item`.
in the file:
`mod/quiz/quiz/classes/structure.php`
It is being stored in the table 'prefix_quiz_slots' in the field `quizgradeitemid` of all the questions that compose this Section, even those of type "Description" that are not visible in the interface.
- is a regression caused by
-
MDL-74610 Let a quiz have multiple total grades (e.g. for each section)
-
- Closed
-