-
Bug
-
Resolution: Fixed
-
Minor
-
2.5
-
MOODLE_25_STABLE
-
MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
-
m26_
MDL-40095_Completion_locked_Error_on_save -
When a scorm package is set with activity completion based on "Require status" condition and this activity completion is locked (a student marked this activity as completed) it is impossible to update the activity.
Indeed, in this conditions any parameter modification (even minor as the description) generate an error (error/moodle/dmlwriteexception) when you save it.
When debugging is activated, it seems that is the DB update request which is malformed.
The "completionstatusrequired" field is set with an array instead an integer.
See the screen shot in attachment for more details.
Note that if you lock the activity completion settings with a condition on a note for example there is no problem.
- is a regression caused by
-
MDL-38315 Completion: Bugs with 'locked' status in activity form
- Closed