Deleting a theme brakes profile page theme for new users

Bug #1660502 reported by Cecilia Vela Gurovic
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Low
Cecilia Vela Gurovic
16.10
Fix Released
Low
Unassigned
17.04
Fix Released
Low
Cecilia Vela Gurovic

Bug Description

When deleting old theme and there is still one institution with that theme set:

if a new user is created before the institution theme is updated to new one, the profile page for new user will be created with the old theme. As the old theme is not available any more, the profile page will be displayed with default theme and will only be possible to change through the DB.

Changed in mahara:
assignee: nobody → Cecilia Vela Gurovic (ceciliavg)
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/7431

Revision history for this message
Mahara Bot (dev-mahara) wrote :

Patch for "16.10_STABLE" branch: https://reviews.mahara.org/7432

Revision history for this message
Robert Lyon (robertl-9) wrote :

Actually the user can change their profile page theme by editing their profile page - if it is an obsolete theme they will be prompted to choose a new one

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

Reviewed: https://reviews.mahara.org/7431
Committed: https://git.mahara.org/mahara/mahara/commit/98f34182d9300502d8fda57f0a557b2b1d81e8b2
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit 98f34182d9300502d8fda57f0a557b2b1d81e8b2
Author: Cecilia Vela Gurovic <email address hidden>
Date: Tue Jan 31 15:49:00 2017 +1300

Bug 1660502: Checking if theme exists when creating user

Checks if the theme exists before creating
the profile page for a new user

behatnotneeded

Change-Id: Ia3a49588c02032b427be0559a8f9fea98975f0d9

Revision history for this message
Mahara Bot (dev-mahara) wrote :

Reviewed: https://reviews.mahara.org/7432
Committed: https://git.mahara.org/mahara/mahara/commit/7990a720d017c26114bc2e7a6a1e25587e7ed4c5
Submitter: Robert Lyon (<email address hidden>)
Branch: 16.10_STABLE

commit 7990a720d017c26114bc2e7a6a1e25587e7ed4c5
Author: Cecilia Vela Gurovic <email address hidden>
Date: Tue Jan 31 15:49:00 2017 +1300

Bug 1660502: Checking if theme exists when creating user

Checks if the theme exists before creating
the profile page for a new user

behatnotneeded

Change-Id: Ia3a49588c02032b427be0559a8f9fea98975f0d9

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.