Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
3.4.3, 3.5
-
Any
-
MOODLE_34_STABLE, MOODLE_35_STABLE
-
MOODLE_36_STABLE
-
MDL-62777-master -
Description
When doing a Moodle update / upgrade via CLI (/admin/cli/upgrade.php), there is an output which informs about the affected components / plugins and about the progress. Example:
-->Sprachpakete verwalten: de
|
++ Das Sprachpaket ‘de' ist aktuell. ++
|
-->Kernsystem
|
++ Fortschritt (3,02 Sekunden) ++
|
-->mod_choicegroup
|
++ Fortschritt (0,12 Sekunden) ++
|
-->block_quickmail
|
++ Fortschritt (0,08 Sekunden) ++
|
-->local_boostnavigation
|
++ Fortschritt (0,09 Sekunden) ++
|
Die Aktualisierung wurde erfolgreich beendet.
|
(sorry for the example being in german, but you have hopefully all seen this before in english)
Now, when there are new settings in core or in a plugin which are installed during an update / upgrade, the admin can see and modify them within the manual upgrade wizard in the browser.
When using the CLI upgrade, the admin does not have any idea if and which new settings are installed. They are simply installed silently with their default values.
I would propose to add an output for each newly installed setting to inform the admin about this fact and to give him the chance to review the setting later manually. Example:
-->Sprachpakete verwalten: de
|
++ Das Sprachpaket ‘de' ist aktuell. ++
|
-->Kernsystem
|
++ Fortschritt (3,02 Sekunden) ++
|
-->mod_choicegroup
|
++ Fortschritt (0,12 Sekunden) ++
|
-->block_quickmail
|
++ Fortschritt (0,08 Sekunden) ++
|
-->local_boostnavigation
|
++ New setting "local_boostnavigation |Â removeprivatefilesnode" installed with default value: 0
|
++ Fortschritt (0,09 Sekunden) ++
|
Die Aktualisierung wurde erfolgreich beendet.
|
PS: The proposed patch by davosmith in MDL-41047 which unfortunately got stuck might serve as a boilerplate for this ticket.
Attachments
Issue Links
- caused a regression
-
MDL-63795 Not all core settings defaults are applied anymore
-
- Closed
-
- duplicates
-
MDL-40628 show new available global settings after cli upgrade
-
- Closed
-
- has a non-specific relationship to
-
MDL-41047 Improve progress information during long upgrades
-
- Closed
-
- is duplicated by
-
MDL-51457 CLI upgrade should indicate updated settings
-
- Closed
-