mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #65412
[Bug 1964835] [NEW] Configurable theme not set properly for institution members
Public bug reported:
The configurable theme is not properly selected any more for institution
members on the main branch that will be Mahara 22.04. Everything still
works fine in 21.10, but institution members don't see the configurable
theme any more when the site is upgraded are installed anew.
To replicate:
1. Install a 21.10 site and set up an institution with the configurable theme. The default values are fine.
2. Add a member to that institution (don't use the site admin but create a new account to rule out anything else).
3. Log in as the newly created account holder. You will see the purple header for the configurable theme and not the 'Raw' theme.
4. Upgrade the site to the 'main' branch and perform the upgrade.
5. Log in as the newly created account holder.
Results:
- Expected: It still shows the purple header indicating the configurable theme is selected.
- Actual: It's the 'Raw' theme that is used instead.
The same is true when you have a fresh database on the main branch:
1. On the main branch with a fresh DB, set up an institution with the configurable theme. The default values are fine.
2. Add a member to that institution (don't use the site admin but create a new account to rule out anything else).
3. Log in as the newly created account holder.
Results:
- Expected: It still shows the purple header indicating the configurable theme is selected.
- Actual: It's the 'Raw' theme that is used instead.
You can further test that by setting '$cfg->sitethemeprefs = true;' in
config.php and going to Account menu -> Settings -> Preferences. The
site theme is selected whereas it should have been the configurable
theme.
When fixing the issue, please also create a Behat test for the simple
scenario on the main branch, not the upgrade scenario.
** Affects: mahara
Importance: High
Status: Confirmed
** Tags: regression
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1964835
Title:
Configurable theme not set properly for institution members
Status in Mahara:
Confirmed
Bug description:
The configurable theme is not properly selected any more for
institution members on the main branch that will be Mahara 22.04.
Everything still works fine in 21.10, but institution members don't
see the configurable theme any more when the site is upgraded are
installed anew.
To replicate:
1. Install a 21.10 site and set up an institution with the configurable theme. The default values are fine.
2. Add a member to that institution (don't use the site admin but create a new account to rule out anything else).
3. Log in as the newly created account holder. You will see the purple header for the configurable theme and not the 'Raw' theme.
4. Upgrade the site to the 'main' branch and perform the upgrade.
5. Log in as the newly created account holder.
Results:
- Expected: It still shows the purple header indicating the configurable theme is selected.
- Actual: It's the 'Raw' theme that is used instead.
The same is true when you have a fresh database on the main branch:
1. On the main branch with a fresh DB, set up an institution with the configurable theme. The default values are fine.
2. Add a member to that institution (don't use the site admin but create a new account to rule out anything else).
3. Log in as the newly created account holder.
Results:
- Expected: It still shows the purple header indicating the configurable theme is selected.
- Actual: It's the 'Raw' theme that is used instead.
You can further test that by setting '$cfg->sitethemeprefs = true;' in
config.php and going to Account menu -> Settings -> Preferences. The
site theme is selected whereas it should have been the configurable
theme.
When fixing the issue, please also create a Behat test for the simple
scenario on the main branch, not the upgrade scenario.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1964835/+subscriptions
Follow ups