Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Cannot Reproduce
-
Affects Version/s: 1.8.2
-
Fix Version/s: None
-
Component/s: Forum
-
Labels:None
-
Environment:Windows 2003 Server, Apache 2.0.59, MySQL 5.0.18, PHP 5.1.1
-
Database:MySQL
-
Affected Branches:MOODLE_18_STABLE
Description
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.
Attachments
Issue Links
| This issue is a clone of: | ||||
| MDL-18060 | Forum ratings not working 1.8.7+ |
|
|
|
Now that moodle.org is using 1.9 beta, I see that forum ratings are also not working. However instead of giving an error message, ratings fail silently. That is, after clicking "send in my latest ratings" the page redisplays but the rating (the blue ratings hyperlink) is not shown.