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

Invalid check of undefined object in ratings/index.php

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.7.8, 2.8.6
    • 2.7.5, 2.8.3
    • Ratings
    • MOODLE_27_STABLE, MOODLE_28_STABLE
    • MOODLE_27_STABLE, MOODLE_28_STABLE
    • MDL-49351-master
    • Hide
      1. In a course create a glossary (enable ratings), create one entry
      2. As a teacher add a rating to the entry, as a different teacher or admin add an additional rating to the same entry
      3. Edit the course permissions for the teacher role, disable moodle/rating:viewall
      4. Then, as a teacher go to the Glossory entry and click on the rating to open the ratings popup with details.
      5. Confirm that:
        • You can see only your rating
      6. Enable the permission again and check that you can see all the ratings
      Show
      In a course create a glossary (enable ratings), create one entry As a teacher add a rating to the entry, as a different teacher or admin add an additional rating to the same entry Edit the course permissions for the teacher role, disable moodle/rating:viewall Then, as a teacher go to the Glossory entry and click on the rating to open the ratings popup with details. Confirm that: You can see only your rating Enable the permission again and check that you can see all the ratings

      Found this issue when reviewing this subsystem for adding someexternal functions:

      ratings/index.php check an undefined object

            jleyva Juan Leyva
            jleyva Juan Leyva
            Mark Nelson Mark Nelson
            David Monllaó David Monllaó
            Ankit Agarwal Ankit Agarwal
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.