Details
Description
If you restrict a forum so that posts will only be rated between time/date A and time/date B, an error occurs when an individual post is rated.
The error is a browser produced error that states "That is not currently available"
If you turn off the date restrictions, and try to rate the forum, the error does not occur.
V. 2.0.3+ (Build: 20110511)
Our server administrator was able to trace this error and has provided us with the following information
1ce
{"error":"That is not currently available","stacktrace":"* line 3501 of \/mod\/forum\/lib.php: rating_exception thrown\n* line ? of unknownfile: call to forum_rating_validate()\n* line 7304 of \/lib\/moodlelib.php: call to call_user_func_array()\n* line 643 of \/rating\/lib.php: call to plugin_callback()\n* line 84 of \/rating\/rate_ajax.php: call to rating_manager->check_rating_is_valid()\n","debuginfo":null,"reproductionlink":"https:\/\/ourmoodleaddressgoeshere\/"}0
Attachments
Issue Links
- will be (partly) resolved by
-
MDL-29289 Forum rating restrictions by date breaks ability to rate
-
- Closed
-