ioc / moodle-mod_choosegroup Goto Github PK
View Code? Open in Web Editor NEWMoodle activity that allows students to choose their group.
License: GNU General Public License v3.0
Moodle activity that allows students to choose their group.
License: GNU General Public License v3.0
CHOOSE GROUP ============ Choose Group is a Moodle activity that allows students to choose their group. Web: https://github.com/IOC/moodle-mod_choosegroup Install ======= Download code from GitHub, and copy inside directory /path/to/moodle/mod/choosegroup Authors ======= Marc Català Sala <[email protected]> Albert Gasset Romo <[email protected]> Idea by David Pinyol <[email protected]> Features ======== Moodle 1.9 ---------- - Several options with visualization of group members - Students can modify their choice - Option to add student's full name next to their profile picture Moodle 2.x ---------- - Each group has their own limit Copyright ========= Copyright © 2010 Institut Obert de Catalunya Choose Group is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Choose Group is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
In a fresh installation of moodle, the next exception is raised:
Debug info: ERROR: invalid input syntax for integer: ""
SELECT id, groupid, maxlimit FROM mdl_choosegroup_group WHERE choosegroupid = $1 ORDER BY groupid
[array (
0 => '',
)]
Error code: dmlreadexception
Stack trace:
line 426 of /lib/dml/moodle_database.php: dml_read_exception thrown
line 248 of /lib/dml/pgsql_native_moodle_database.php: call to moodle_database->query_end()
line 753 of /lib/dml/pgsql_native_moodle_database.php: call to pgsql_native_moodle_database->query_end()
line 1211 of /lib/dml/moodle_database.php: call to pgsql_native_moodle_database->get_records_sql()
line 1162 of /lib/dml/moodle_database.php: call to moodle_database->get_records_select()
line 98 of /mod/choosegroup/mod_form.php: call to moodle_database->get_records()
line 401 of /course/moodleform_mod.php: call to mod_choosegroup_mod_form->data_preprocessing()
line 262 of /course/modedit.php: call to moodleform_mod->set_data()
The param passed to the query is empty.
I tried to add this activity to a Moodle 2.6.7 with postgreSQL database. The url where the error shown was: /course/modedit.php?add=choosegroup&type=&course=10§ion=1&return=0&sr=0
Before showing the adding form.
On line 109 of /mod/choosegroup/mod_form.php $this->_instance is empty. Maybe this query has to be deleted when adding.
Debug info: ERROR: invalid input syntax for integer: ""
SELECT id, groupid, maxlimit FROM mdl_choosegroup_group WHERE choosegroupid = $1 ORDER BY groupid
[array (
0 => '',
)]
Error code: dmlreadexception
Stack trace:
line 443 of /lib/dml/moodle_database.php: dml_read_exception thrown
line 243 of /lib/dml/pgsql_native_moodle_database.php: call to moodle_database->query_end()
line 748 of /lib/dml/pgsql_native_moodle_database.php: call to pgsql_native_moodle_database->query_end()
line 1257 of /lib/dml/moodle_database.php: call to pgsql_native_moodle_database->get_records_sql()
line 1208 of /lib/dml/moodle_database.php: call to moodle_database->get_records_select()
line 109 of /mod/choosegroup/mod_form.php: call to moodle_database->get_records()
line 426 of /course/moodleform_mod.php: call to mod_choosegroup_mod_form->data_preprocessing()
line 257 of /course/modedit.php: call to moodleform_mod->set_data()
I have realised that this module depends on chat module strings. I think that it just uses one: chatintro on on mod_form.php.
You can find more information about this problem on https://tracker.moodle.org/browse/MDL-47875
Cheers!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.