mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #14174
[Bug 1237721] Re: Creating a custom layout with 6 rows throws an error
A second patch for the lang string: https://reviews.mahara.org/2598
--
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/1237721
Title:
Creating a custom layout with 6 rows throws an error
Status in Mahara ePortfolio:
In Progress
Bug description:
To replicate:
1. Edit a page
2. Go to the Layout tab
3. Expand "Advanced options"
4. Click on "Custom layout"
5. Keep clicking "Add row" until you have 6 rows
6. Click "Create layout"
7. Click "Save"
Expected result: The page has a custom layout with 6 rows
Actual result: You see an error page with this error message:
[WAR] 56 (lib/view.php:2439) [[invalidnumrows/error]]
Call stack (most recent first):
View->addrow(array(size 3)) at /home/aaronw/www/mahara/htdocs/view/layout.php:249
viewlayout_submit(object(Pieform), array(size 5)) at Unknown:0
call_user_func_array("viewlayout_submit", array(size 2)) at /home/aaronw/www/mahara/htdocs/lib/pieforms/pieform.php:528
Pieform->__construct(array(size 6)) at /home/aaronw/www/mahara/htdocs/lib/pieforms/pieform.php:170
Pieform::process(array(size 6)) at /home/aaronw/www/mahara/htdocs/lib/pieforms/pieform.php:71
pieform(array(size 6)) at /home/aaronw/www/mahara/htdocs/view/layout.php:171
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1237721/+subscriptions
References