Error Creating Custom Layout for Group Page
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Triaged
|
High
|
Unassigned |
Bug Description
Mahara: 1.8.2testing (2013101407)
OS: Linux
DB: PostGres 9.1
Browser: Firefox
In a brand new vanilla Mahara in install:
- Create 3 users (teacher1, teacher2, student1).
- Create a group (teachers) with users: teacher1 and teacher2.
- Log in as teacher1
- Create a page (Standard 1) under the group teachers
- Customise the layout (2 rows): row 1= 2 columns; row 2 = 5 columns.
- Click 'Create New Layout' button.
The following error is generated:
[WAR] 68 (lib/errors.
Command was: INSERT INTO "usr_custom_layout" ("layout") VALUES (?) and values was (30)
Call stack (most recent first):
log_
log_
SQLExceptio
insert_
View-
View-
It appears that the owner is null.
There was a similar bug reported for Mahara 1.9 (bug #1266317). It may need to be applied to 1.8 also.
Changed in mahara: | |
milestone: | none → 1.8.2 |
status: | New → Triaged |
importance: | Undecided → High |
Thanks Ghada!
I was able to replicate the problem, and cherry-picking the patches from Bug 1266317 fixed the problem. So, I'll mark this one as a duplicate and reopen the other bug.