-
Bug
-
Resolution: Fixed
-
Minor
-
2.6
-
MOODLE_26_STABLE
-
MOODLE_26_STABLE
-
MDL-41840-master -
While investigating MDL-41722, I noticed that the page title and breadcrumbs show incorrect page in restore as well. This is a regression caused by MDL-41253.
Unfortunately it is impossible to make this information correct. The reason is that I have modified the code so that, if it takes a long time to make the 'process()' call, it displays a progress bar. As a result, we need to ensure the page header has been printed before this point. But before the process() call finishes, we can't actually tell which page we are on (there might be a form validation error or something).
To solve this problem I propose to simply delete the information about the current step within restore from the page title and breadcrumbs. It still appears, in bold, in the backup/restore information strip that shows the list of pages, so I think this is sufficient.
In addition the page title is currently not consistent between restore/import. As part of this change I will make it consistent in these two interfaces (also done in backup as part of another change), and also broadly consistent with e.g. the Participants page.