-
Bug
-
Resolution: Fixed
-
Minor
-
3.1.8, 3.2.5, 3.3, 3.3.5, 3.4.1, 3.5
-
MOODLE_31_STABLE, MOODLE_32_STABLE, MOODLE_33_STABLE, MOODLE_34_STABLE, MOODLE_35_STABLE
-
MOODLE_33_STABLE, MOODLE_34_STABLE
-
MDL-60115-Book-cancel-button-redirect-bug-master -
Easy
-
If you add a book resource, the first thing you have to do is add a chapter.
In this step, if you hit cancel, the form doesn't returns an error (first chapter is mandatory in creating a book resource) and stays in the same page without informing you. If you are creating chapter 2 and above it works as expected.
I have a patch which checks for first chapter and if you hit cancel, it returns to course view.