mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #17365
[Bug 1287262] Re: unable to create group home page
Lol, one more update. I was wrong when I mentioned that the
"view_rows_columns" table maps to the "view_layout_columns" table. It
does not. It simply says how many columns there in each row, and then
the columns are made to be evenly spaced.
There actually is another (minor) bug there, unrelated to jo's issue. If
you create a page, give it a multi-row layout where the columns are not
evenly spaced, and then you go back to the "edit content" tab and use
the add/remove buttons to drop a column from one row, all of the rows
will be changed to make their columns evenly spaced.
The workaround to this, is to use the "edit layout" tab to specifically
engineer your layout.
--
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:
Confirmed
Status in Mahara 1.8 series:
Confirmed
Status in Mahara 1.9 series:
Confirmed
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