-
Bug
-
Resolution: Fixed
-
Major
-
3.2.1
-
MOODLE_32_STABLE
-
MOODLE_31_STABLE, MOODLE_32_STABLE
-
MDL-58227-master -
I think that this was introduced by , this line is incorrect:MDL-53638
https://github.com/moodle/moodle/blob/master/mod/feedback/classes/completion.php#L520
It should be: if (!isloggedin() || isguestuser()) {
This is causing that in every new attempt, a new entry in the feedback_completed table is created, this is not expected behaviour because as you can see some lines bellow, it is expected to have just one entry per feedback in that table.
I think this is causing unexpected behaviours like the one reported in MDL-58011
The fix for this is not trivial because it will require an upgrade step to remove the extra entries in the feedback table.
- blocks
-
MDL-57813 New Web Service mod_feedback_get_last_completed
- Closed
-
MDL-57821 New Web Service mod_feedback_get_responses_analysis
- Closed
-
MDL-57822 New Web Service mod_feedback_get_non_respondents
- Closed
-
MDL-58230 New Web Service mod_feedback_get_finished_responses
- Closed
- caused a regression
-
MDL-60366 Feedback upgrade deletes valid multiple attempts
- Closed
- is a regression caused by
-
MDL-53638 Convert feedback to use moodleform
- Closed
- will help resolve
-
MDL-58011 feedback can not be corrected
- Closed