Resolution: Cannot Reproduce
Affects Version/s: 1.8.2
Fix Version/s: None
Environment:Windows 2003 Server, Apache 2.0.59, MySQL 5.0.18, PHP 5.1.1
After clicking the "Send in my latest ratings" button Moodle returns and error: "Could not insert a new rating (0 = 392)"
The error occurs in every forum type and with every grade type. The error message is the same.
RSS, blocking or groups are not used.
With debugging switched on, error is:
Out of range value adjusted for column 'rating' at row 1
INSERT INTO mdl_forum_ratings ( USERID, POST, TIME, RATING ) VALUES ( 6, 0, 1191415066, 392 )
- line 1425 of lib\dmllib.php: call to debugging()
- line 68 of mod\forum\rate.php: call to insert_record()
Had this problem with 1.7+ too, thought upgrading might fix it. Alas
Hope you don't mind me prioritising this as Major, it's a really useful function.