djplaner / moodle-mod_bim

A Moodle activity module the provides support for managing/marking individual student blogs hosted on external services.
http://davidtjones.wordpress.com/research/bam-blog-aggregation-management/
7 stars 2 forks source link

Error when releasing a marked post #54

Closed djplaner closed 11 years ago

djplaner commented 11 years ago

Implies the need for a bit of work on finishing the translation to Moodle 2.0. It appears that the post does get released, must be another problem

Debug info: Argument 3 passed to moodle_database::get_records_select() must be an array, string given, called in /Applications/XAMPP/xamppfiles/htdocs/m24/mod/bim/coordinator/manage_marking.php on line 281 and defined Error code: codingerror Stack trace: line 397 of /lib/setuplib.php: coding_exception thrown line 1204 of /lib/dml/moodle_database.php: call to default_error_handler() line 281 of /mod/bim/coordinator/manage_marking.php: call to moodle_database->get_records_select() line 50 of /mod/bim/coordinator/view.php: call to bim_manage_release() line 100 of /mod/bim/view.php: call to show_coordinator()

djplaner commented 11 years ago

Also look a bit further afield for similar unfinished porting within the BIM code.

djplaner commented 11 years ago

This is a problem when gradebook integration is turned on (why it hasn't shown up previously). The SQL statement used to extract marks to update the gradebook doesn't work with Moodle 2.x. Update this and it should work.

That seems to have worked. No more problem. The status has been updated. Time to check if the gradebook has been updated appropriately. Yep. Gradebook updated correctly. Can close this one off.

djplaner commented 11 years ago

Used a checkdb script from the Moodle site and it didn't find any other problems.....of course this doesn't prove the absence....