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

Rating area must be a required param in /rating/index.php

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.7.5, 2.8.3
    • 2.7.8, 2.8.6
    • Ratings

    Description

      ratingarea is a mandatory parameter for the get_all_ratings_for_item function so it must be declared as required

      Reproduction steps:

      • Try to retrieve the ratings for an item just using the mandatory parameters, you will see this error:
        The ratingarea option is now a required option when getting ratings for an item.

      Attachments

        Activity

          People

            jleyva Juan Leyva
            jleyva Juan Leyva
            Simey Lameze Simey Lameze
            David Monllaó David Monllaó
            Rajesh Taneja Rajesh Taneja
            Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              11/May/15