-
Bug
-
Resolution: Fixed
-
Critical
-
2.2, 2.3
-
MOODLE_22_STABLE, MOODLE_23_STABLE
-
MOODLE_23_STABLE
-
MDL-33362-master -
From https://github.com/skodak/moodle-mod_book/issues/23:
Petr I found also another problem, this time with backup in 1.9 and restore in 2.2.
The problem is, that ju didnt handle restore_decode_rule for BOOKSTART, you generate in moodle 1.9 backup for links to books. (line 123 in moodle 1.9/mod/book/backuplib.php).
I fix this problem adding $rules[] = new restore_decode_rule('BOOKSTART', '/mod/book/view.php?id=$1', 'course_module'); in moodle22/mod/book/backup/moodle2/restore_book_activity_task.class.php in function define_decode_rules()
Just letting you know, so you can fix it for everybody
So this needs verification and fix, at least in 2.3, ideally to 2.2 too.
- has been marked as being related by
-
MDL-32709 Feature request: move the Book module from contrib to the Moodle core
-
- Closed
-