mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #24243
[Bug 1396565] Re: Error when adding a Group pages block onto a group home page
I got exactly this error (Mahara v10.1) :
[Tue Feb 17 11:20:19.322967 2015] [:error] [pid 23531:tid 34622944256] [client 159.28.7.70:50895] [WAR] 48 (lib/errors.php:745) get_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, referer: https://mahara.earlham.edu/view/groupviews.php?group=13
[Tue Feb 17 11:20:19.323077 2015] [:error] [pid 23531:tid 34622944256] [client 159.28.7.70:50895] [WAR] 48 (lib/dml.php:324) get_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, referer: https://mahara.earlham.edu/view/groupviews.php?group=13
I made the same mistake with two separate groups! Here's why :
I have a Group which maps to a subject Major at University
(Sociology/Anthropology). They are exploring (with lots of my help)
using Mahara for student eportfolios and assessment of the whole
programme. The group is Controlled and students 'submit' Pages to be
commented upon by Tutors -- a very neat system by the way. With this in
mind I wanted to display 'Submissions to this group' at the top of the
Group Pages so that new submissions would be right in the face of Tutors
accessing the Group site. However, the order of display within the Group
Page block is fixed -- no matter I thought, just add another instance of
Group Pages with all the other options unchecked and submissions
checked. WRONG! I managed to make exactly this same mistake TWICE!
How can I retrieve the situation? Currently using v10.1 the About page
throws the error and does not allow the Group to be deleted. I have two
of these Groups that are currently useless. Does 10.2 allow me to edit
the About page and remove the offending block or even delete the group
and start from scratch ?
--
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/1396565
Title:
Error when adding a Group pages block onto a group home page
Status in Mahara ePortfolio:
Fix Committed
Status in Mahara 1.10 series:
Fix Released
Status in Mahara 15.04 series:
Fix Committed
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1396565/+subscriptions
References