-
Bug
-
Resolution: Fixed
-
Critical
-
2.7.4, 2.8.2, 2.9
-
MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE
-
MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE
-
wip-
MDL-48978-master -
Creating this issue is a bit of a mystery for me because it doesn't exist in the moodle QA site, however after going through a diff of our update from 2.8.1+ and 2.8.2, the problem seems to unequivocally be in user/edit_form with a fix from MDL-37704.
The error that I recieve when i try to update student user preferences
I was able to reverse the problem by reverting to the 2.8.1+ version of this code in user/edit_form.php:
if ($field === 'description')
{ + // Hard coded hack for description field. See MDL-37704 for details. + $formfield = 'description_editor'; + }else
{ + $formfield = $field; + }+ if (!$mform->elementExists($formfield))
{ continue; }