Hi Sergei, Thanks for the bug report! I was able to reproduce this same problem.
To replicate: 1. Clean install of Mahara 2. Go to "Configure Site -> "Site Options" 3. Under the "Site Settings" section, set "Theme" to something other than "Default". (It'll start off in "Raw", on a clean install.) 4. Go to "Institutions" 5. Click on "Add institution" 6. Create a new institution (it doesn't matter what settings you use) 7. Save the new institution. Expected result: The new institution is created and nothing else on the site changes Actual result: The new institution is created, and the site theme changes to "Default", and you see these messages in status boxes on the top of the page: The theme "sitedefault" is missing. The theme has been set to the default theme. Institution added successfully The theme "" is missing. The theme has been set to the default theme. When I say "the site theme changes to "Default"", I mean if you go back to "Administration -> Configure Site -> Site options -> Site settings -> Theme", the selection there will have changed to "Default"! I suspect this was caused by a bug in the code we adding for migrating institutions that had themes that no longer exist, in the 15.10 upgrade. I do not know why it's changing the site theme setting, though. Cheers, Aaron ** Changed in: mahara Importance: Undecided => High ** Also affects: mahara/15.10 Importance: Undecided Status: New ** Also affects: mahara/16.04 Importance: High Status: New ** Changed in: mahara/15.10 Importance: Undecided => High ** Changed in: mahara/15.10 Status: New => Confirmed ** Changed in: mahara/16.04 Status: New => Confirmed ** Changed in: mahara/15.10 Milestone: None => 15.10.1 ** Changed in: mahara/16.04 Milestone: None => 16.04.0 -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it! https://bugs.launchpad.net/bugs/1514799 Title: Theme switches to default on creating an institution Status in Mahara: Confirmed Status in Mahara 15.10 series: Confirmed Status in Mahara 16.04 series: Confirmed Bug description: When you create a new institution (no matter which parameters to use) and hit Submit, page reloads and the site theme is switched to Default. These notices are shown: The theme "sitedefault" is missing. The theme has been set to the default theme. Institution added successfully The theme "" is missing. The theme has been set to the default theme. Mahara 15.10.0 (freshly installed) Linux (not sure about version, we use hosting, not VPS) MySQL Google Chrome (Version 44.0.2403.125) To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/1514799/+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