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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.7.5, 2.8.3
    • Fix Version/s: 2.7.8, 2.8.6
    • Component/s: Ratings
    • Labels:

      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

            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                11/May/15