-
Bug
-
Resolution: Fixed
-
Minor
-
2.6.4, 2.7.1
-
None
-
MOODLE_26_STABLE, MOODLE_27_STABLE
-
MOODLE_26_STABLE, MOODLE_27_STABLE
When applying a preset that contains a view that has no field patterns warning notices are displayed in debug mode:
Notice: undefined index: field in .../mod/dataform/backup/moodle2/restore_dataform_stepslib.php on line 189
Warning: Invalid argument supplied for foreach() in .../mod/dataform/backup/moodle2/restore_dataform_stepslib.php on line 189
This results from assuming the existence of view and field patterns when attempting to adjust field ids of restored views.