← Back to team overview

mahara-contributors team mailing list archive

[Bug 1287262] A change has been merged

 

Reviewed:  https://reviews.mahara.org/3067
Committed: http://gitorious.org/mahara/mahara/commit/41d6d46cbe57e37de58ee2cc84bd3e597f57d3ee
Submitter: Aaron Wells (aaronw@xxxxxxxxxxxxxxx)
Branch:    master

commit 41d6d46cbe57e37de58ee2cc84bd3e597f57d3ee
Author: Aaron Wells <aaronw@xxxxxxxxxxxxxxx>
Date:   Wed Mar 5 13:51:35 2014 +1300

Remove unnecessary code for single-row NULL layout views

Bug 1287262

Change-Id: I95dc1c1c9551ecceac4de852f7ca23ce8ac1c5cd

-- 
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/1287262

Title:
  unable to create  group home page

Status in Mahara ePortfolio:
  Fix Committed
Status in Mahara 1.8 series:
  Confirmed
Status in Mahara 1.9 series:
  Fix Committed

Bug description:
  mahara version 1.8.1
  mysql 5.6
  Since upgrading from 1.7.2 to 1.8.1 we are unable to create new group home pages. After selecting 'create group', adding a group and selecting 'save group', the 'About' tab displays 'A nonrecoverable error occurred.' the error log displays:

  [Mon Mar 03 16:46:57 2014] [error] [client 128.40.192.7] [WAR] ba (lib/view.php:2725) Unknown view layout (id=), referer: https://v181.myportfolio-dev.ucl.ac.uk/group/edit.php
  [Mon Mar 03 16:46:57 2014] [error] [client 128.40.192.7] Call stack (most recent first):, referer: https://v181.myportfolio-dev.ucl.ac.uk/group/edit.php
  [Mon Mar 03 16:46:57 2014] [error] [client 128.40.192.7]   * View->get_layout() at /data/mahara-vhosts/v181/lib/view.php:1776, referer: https://v181.myportfolio-dev.ucl.ac.uk/group/edit.php
  [Mon Mar 03 16:46:57 2014] [error] [client 128.40.192.7]   * View->build_column_datastructure(1, false) at /data/mahara-vhosts/v181/lib/view.php:1828, referer: https://v181.myportfolio-dev.ucl.ac.uk/group/edit.php
  [Mon Mar 03 16:46:57 2014] [error] [client 128.40.192.7]   * View->get_column_datastructure(1, 1) at /data/mahara-vhosts/v181/lib/view.php:1911, referer: https://v181.myportfolio-dev.ucl.ac.uk/group/edit.php
  [Mon Mar 03 16:46:57 2014] [error] [client 128.40.192.7]   * View->build_column(1, 1, false) at /data/mahara-vhosts/v181/lib/view.php:1886, referer: https://v181.myportfolio-dev.ucl.ac.uk/group/edit.php
  [Mon Mar 03 16:46:57 2014] [error] [client 128.40.192.7]   * View->build_columns(1, false) at /data/mahara-vhosts/v181/lib/view.php:1871, referer: https://v181.myportfolio-dev.ucl.ac.uk/group/edit.php
  [Mon Mar 03 16:46:57 2014] [error] [client 128.40.192.7]   * View->build_rows() at /data/mahara-vhosts/v181/group/view.php:68, referer: https://v181.myportfolio-dev.ucl.ac.uk/group/edit.php
  [Mon Mar 03 16:46:57 2014] [error] [client 128.40.192.7] , referer: https://v181.myportfolio-dev.ucl.ac.uk/group/edit.php

  If I select the 'my groups' tab, the group is displayed but I get the
  same error message if I try and edit it. If I select the group, the
  same error is displayed on the 'about' tab but all other tabs work
  correctly.

  I suspect that something went wrong during the upgrade, although no error messages were reported in the error log. 9 new tables were created and the correct schema changes appear to have been applied according to the lib/db/upgrade.php. We didn't test creating groups on our uat instance before upgrading production and have now rolled back production to 1.7.2. However the problem exists on our dev and uat environments and we won't upgrade production until we can fix it on dev and uat. The dev and uat databases are a clone of production. I'm not sure if it's worth mentioning but the auto-increment is set to 2 on production and 1 on dev and uat. I'm wondering if something is going wrong during the upgrade when the new tables are populated. 
  Please let me know if I can provide any more information.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1287262/+subscriptions


References