mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #50485
[Bug 1761037] Re: Installing a site doesn't update email correctly
** Changed in: mahara/18.10
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: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1761037
Title:
Installing a site doesn't update email correctly
Status in Mahara:
Fix Released
Status in Mahara 16.10 series:
Fix Released
Status in Mahara 17.04 series:
Fix Released
Status in Mahara 17.10 series:
Fix Released
Status in Mahara 18.04 series:
Fix Released
Status in Mahara 18.10 series:
Fix Released
Bug description:
We added a bit of code that made sure that when we install a site it
changes the admin email from admin@xxxxxxxxxxx to the one supplied in
all 3 places where we save email addresses - we save this directly to
db.
This is ok if we then log out before going to a place in Mahara where
$USER->commit() is called
But if we don't the $USER object still has admin@xxxxxxxxxxx set so
overwrites our change in the usr table.
We need to commit this change via the USER object rather than update
the usr table directly
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1761037/+subscriptions
References