Reviewed: https://reviews.mahara.org/6510 Committed: https://git.mahara.org/mahara/mahara/commit/80ad18bdf91bc3ff63ae0630bb12d36904046310 Submitter: Robert Lyon ([email protected]) Branch: 16.04_STABLE
commit 80ad18bdf91bc3ff63ae0630bb12d36904046310 Author: Robert Lyon <[email protected]> Date: Fri May 13 12:23:47 2016 +1200 Bug 1581262: allow 'root' user to make default portfoilo page When upgrading from old 15.04 to new 16.10 site behatnotneeded Change-Id: I737f481338778aeac9d865575a96029e9e044277 Signed-off-by: Robert Lyon <[email protected]> -- 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/1581262 Title: Upgrade error with unable to execute install_system_portfolio_view Status in Mahara: Fix Committed Status in Mahara 16.04 series: Fix Committed Status in Mahara 16.10 series: Fix Committed Bug description: When upgrading from a site with version number before 2015082500 (bug 1488255) to version number after 2016042100 (bug 1397110) we get an error about install_system_portfolio_view() not being able to create the page. This is because the 'root' mahara user (id 0) is not an site admin but needs to be for this task. Install works fine as the initial 'root' user is created as admin and then switched to being non admin after installing the default templates. Will add a patch to switch the user to be site admin and then back again in lib/db/upgrade.php on line 4182 The other three are only called during install so we don't need to worry about those install_system_profile_view(); install_system_dashboard_view(); install_system_grouphomepage_view(); To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/1581262/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~mahara-contributors Post to : [email protected] Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp

