Creating a custom layout with 6 rows throws an error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
High
|
Aaron Wells |
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) [[invalidnumrow
Call stack (most recent first):
View-
viewlayout_
call_
Pieform-
Pieform:
pieform(
Changed in mahara: | |
status: | In Progress → Fix Committed |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
This was spun off from https:/ /bugs.launchpad .net/mahara/ +bug/1236767
Actually, there's a second bug here as well, which is the missing lang string "invalidnumrows /error"