-
Improvement
-
Resolution: Fixed
-
Minor
-
3.11.4, 4.0
-
MOODLE_311_STABLE, MOODLE_400_STABLE
-
MOODLE_400_STABLE
-
MDL-73337-master -
All actions in the 'Edit quiz' page are not logged. As discuss with timhunt in https://moodle.org/mod/forum/discuss.php?d=423702#p1729801, they should be logged in detail:
The edit page itself
- edit_page_viewed Tim has agreed that 'Quiz edit page viewed' should only be logged if the page is being displayed, not when a POST is being post is being processed.
Slots
Note that, within the quiz code, the separate 'questions' a better referred to as slots. They correspond to rows in the quiz_slots table.
- slot_created Add question (all options)
- slot_deleted Delete a question from quiz
- slot_moved Move question to another position
- slot_mark_updated Update max mark for question
- slot_requireprevious_updated Update dependency of questions (lock icon)
For the last two here, we could, instead, have a single slot_updated event, and require people to dig into the data to see what is going on, but acutally, I think that two separate events is better.
Tim has suggested that, for "Delete multiple questions from quiz" it is best to just log this as multiple 'slot_deleted' events, all with the same timestamp.
Pages
Page breaks are not really entities in the quiz, but I still think that these two events are the clearest way to log it.
- page_break_created Update page break
- page_break_deleted Update page break
Sections
- section_break_created Add new section heading at page
- section_break_deleted Delete section heading
- section_title_updated Update section title
- section_shuffle_updated Update shuffle option
The whole quiz
- quiz_repaginated Re-paginate
- quiz_grade_updated Change the Maximum grade and click on Save