Incomplete storage of admin's email at install

Bug #1378581 reported by Aaron Wells
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Medium
Jono M
15.04
Fix Released
Medium
Unassigned
15.10
Fix Released
Medium
Jono M

Bug Description

From https://bugs.launchpad.net/mahara/+bug/1376072/comments/1:

When the admin user is first created it is assigned the '<email address hidden>' dummy email address.

This address is saved in usr table email column and is also saved in artefact table under title column as artefacttype = 'email' and in artefact_internal_profile_email table during the install page.

When you continue onto the next page you are prompted to save a new password and email address

This new email is saved in the usr table (post this fix: https://reviews.mahara.org/#/c/3201/2) and artefact_internal_profile_email but doesn't update the artefact table.

When I install via cli I get the email address variable being saved in usr table but not in artefact nor artefact_internal_profile_email - they are still <email address hidden>

We need to adjust it so whether installing via browser or cli that the admin user's email address is correct in all three places

Changed in mahara:
milestone: none → 15.04.0
importance: Low → Medium
Robert Lyon (robertl-9)
Changed in mahara:
milestone: 15.04.0 → 15.04.1
Aaron Wells (u-aaronw)
Changed in mahara:
milestone: 15.04.1 → 15.10.0
Jono M (jonom)
Changed in mahara:
assignee: nobody → Jono Mingard (mingard)
Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "master" branch: https://reviews.mahara.org/4755

Jono M (jonom)
Changed in mahara:
status: Confirmed → In Progress
Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/4755
Committed: https://git.nzoss.org.nz/mahara/mahara/commit/d6cd92425fbb70e4cbd9b6a668af1789997a38f1
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit d6cd92425fbb70e4cbd9b6a668af1789997a38f1
Author: Jono Mingard <email address hidden>
Date: Fri May 8 10:19:45 2015 +1200

Ensure dummy admin email is changed on install (Bug #1378581)

Email is now changed in all three tables it's stored in during both
web and cli install

Change-Id: I952e0cbc1d573acdacecad00a4a7eddf2251ede2

Robert Lyon (robertl-9)
Changed in mahara:
status: In Progress → Fix Committed
Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "15.04_STABLE" branch: https://reviews.mahara.org/4780

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/4780
Committed: https://git.nzoss.org.nz/mahara/mahara/commit/ce5e28789b0a90e0cee0c33df408980b252936f3
Submitter: Robert Lyon (<email address hidden>)
Branch: 15.04_STABLE

commit ce5e28789b0a90e0cee0c33df408980b252936f3
Author: Jono Mingard <email address hidden>
Date: Fri May 8 10:19:45 2015 +1200

Ensure dummy admin email is changed on install (Bug #1378581)

Email is now changed in all three tables it's stored in during both
web and cli install

Change-Id: I952e0cbc1d573acdacecad00a4a7eddf2251ede2
(cherry picked from commit d6cd92425fbb70e4cbd9b6a668af1789997a38f1)

Robert Lyon (robertl-9)
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.