Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 3.7, 3.7 regressions
-
Fix Version/s: 3.7.1
-
Component/s: Themes
-
Labels:
-
Testing Instructions:
-
Affected Branches:MOODLE_37_STABLE
-
Fixed Branches:MOODLE_37_STABLE
-
Pull from Repository:
-
Pull Master Branch:
MDL-65708-master -
Pull Master Diff URL:
Description
The site learn.moodle.net uses a custom theme which is a child theme of the Boost. After upgrading the site to 3.7, it stopped working with error messages like
Invalid page layout specified: login
|
or
Undefined index: standard in lib/outputlib.php on line 2464
|
These are layouts provided by the boost's config file. Our custom theme only defines its own frontpage layout. All others are supposed to be inherited.
It turned out to be a regression of MDL-64506 - the commit e00f1c663c1 changed the way how theme_config::__construct() sets the $baseconfig - before, it was always the bootstrapbase - so it loaded all its layouts etc. But now, we do not use it.
Attachments
Issue Links
- blocks
-
MDLSITE-5731 Upgrade learn.moodle.net to 3.7
-
- Closed
-
- is a regression caused by
-
MDL-64506 Remove clean theme
-
- Closed
-
- is duplicated by
-
MDL-65645 Theme layouts do not inherit from parent theme
-
- Closed
-