** Changed in: mahara
       Status: Fix Committed => Fix Released

-- 
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:
  Fix Released

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


_______________________________________________
Mailing list: https://launchpad.net/~mahara-contributors
Post to     : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp

Reply via email to