Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
3.1
-
MOODLE_31_STABLE
-
MOODLE_30_STABLE, MOODLE_31_STABLE
-
MDL-54935_m32v1 -
Easy
-
Description
The response_submitted event is called twice when submitting a survey.
The first time is part of the survey_save_answers() function on line 69 of save.php
https://github.com/moodle/moodle/blob/master/mod/survey/save.php#L69
Which triggers the event here:
https://github.com/moodle/moodle/blob/master/mod/survey/lib.php#L1016
The second time is 7 lines later in save.php (The next 7 lines are setting up the event trigger)
Attachments
Issue Links
- Discovered while testing
-
MDL-48944 Survey should have activity completion condition on survey completed
-
- Closed
-