Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-27984

Date restriction of rated forum produces rating error

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Cannot Reproduce
    • 2.0.3
    • None
    • Forum, Ratings
    • None
    • PostgreSQL
    • MOODLE_20_STABLE
    • Hide

      If you turn off the date restrictions, and try to rate the forum, the error does not occur.

      Show
      If you turn off the date restrictions, and try to rate the forum, the error does not occur.
    • Hide

      Set an aggregation type in a forum.

      Restrict the ratings to be rated within a given time frame.

      Rate the forum posts. Error should occur upon rating.

      Edit forum settings and turn off any rating restrictions.

      Rate a post. The error should no longer occur.

      Show
      Set an aggregation type in a forum. Restrict the ratings to be rated within a given time frame. Rate the forum posts. Error should occur upon rating. Edit forum settings and turn off any rating restrictions. Rate a post. The error should no longer occur.

    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

          Activity

            People

              dougiamas Martin Dougiamas
              brad.reamsbottom Brad Reamsbottom
              Adrian Greeve, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: