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

Changing the allocation of a blog post to 'unallocated' gives an error #31

Closed tlock closed 14 years ago

tlock commented 14 years ago

To reproduce, go in to marking and use the 'change allocation to' box to allocate the blog post to 'unallocated'.

This is fixed by changing the question = '' under unallocated to 0 as DB field is an INT in PSQL

--- a/mod/bim/marker/view.php +++ b/mod/bim/marker/view.php @@ -245,7 +245,7 @@ function bim_process_allocate_form( $marking_details, $fromform, $questions )/* //print "...unallocate.."; // Change status to unallocated and question to NULL $detail->status = "Unallocated";

djplaner commented 14 years ago

Thanks Tim.

There was a similar fix last week due to a report from CQU which has now gone to Postgres. Am about to commit this change now.