Error when adding a Group pages block onto a group home page
Bug #1396565 reported by
Dominique-Alain JAN
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Critical
|
Robert Lyon | ||
1.10 |
Fix Released
|
Critical
|
Robert Lyon | ||
15.04 |
Fix Released
|
Critical
|
Robert Lyon |
Bug Description
To replicate on Mahara 15.04dev
1/ Create a group or go to an already create group
2/ Edit the home page
3/ Add the bloc "Group page"
You get the error : _record_sql found more than one row. If you meant to retrieve more than one record, use get_records_*, otherwise check your code or database for inconsistencies
Tried on three different platforms with 15.04dev
Changed in mahara: | |
milestone: | none → 15.04.0 |
importance: | Undecided → Critical |
Changed in mahara: | |
status: | New → In Progress |
summary: |
- Error when adding a Group pages bloc onto a group home page + Error when adding a Group pages block onto a group home page |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
The problem is the system allows a user to add a group pages block when there is already one on the page but there should only be one on a page - this causes the sql problem/error.
Need to add a check to see if the block exists on the page and alert the user to this fact.