-
Improvement
-
Resolution: Fixed
-
Minor
-
3.9.1
-
MOODLE_39_STABLE
-
MOODLE_310_STABLE
-
MDL-69418-master -
Currently it's not possible to to attach anything to grade items from local plugins (actually from any other plugin types) during backup/restore.
In my case I have a local plugin which adds custom fields to manual grade items in a custom form (using custom fields API). For the fields data I use course context and grade item id as an instance id. I can't backup and then restore this data as I can't attach anything to grade items. (Actually I can back it up and put to course.xml, but not able to restore as restore_gradebook_structure_step gets processed during restore_final_task which runs after course restore task, so I don't know new grade items ids at the time when processing of course.xml happens).
Would be good if we can extend backup_gradebook_structure_step and restore_gradebook_structure_stepto allow local plugins to hook into grade items via add_plugin_structure?
- has a non-specific relationship to
-
MDL-71233 Fix moodle version in backup/upgrade.txt
- Closed