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

Warning in grader report in separate groups mode

    XMLWordPrintable

Details

    • MOODLE_37_STABLE
    • MOODLE_38_STABLE
    • MDL-68099-master
    • Hide
      1. Create a course C1. Set its groups mode to "Separate groups"
      2. Create at least 2 groups G1 and G2
      3. Enrol a non-editing teacher t3 to the course. Do not add this teacher to any group.
      4. Login as t3, Go to Grades > View > Grader report
      5. Make sure it displays a message "Sorry, but you need to be part of a group to see this page."
      6. Login as admin and add teacher t3 to a group
      7. Login as t3, Go to Grades > View > Grader report
      8. Make sure it displays the report with the group name in the header
      Show
      Create a course C1. Set its groups mode to "Separate groups" Create at least 2 groups G1 and G2 Enrol a non-editing teacher t3 to the course. Do not add this teacher to any group. Login as t3, Go to Grades > View > Grader report Make sure it displays a message "Sorry, but you need to be part of a group to see this page." Login as admin and add teacher t3 to a group Login as t3, Go to Grades > View > Grader report Make sure it displays the report with the group name in the header

    Description

      1. Make sure debugging is turned on.
      2. Create a course C1. Set its groups mode to "Separate groups"
      3. Create at least 2 groups G1 and G2
      4. Enrol a non-editing teacher t3 to the course. Do not add this teacher to any group.
      5. Go to Grades > View > Grader report
      6. You'll see the following warning:

        Notice: Trying to get property 'name' of non-object in /mnt/c/Users/jpata/Work/moodles/stable_master/moodle/grade/report/lib.php on line 382
        

      Attachments

        Issue Links

          Activity

            People

              marina Marina Glancy
              jpataleta Jun Pataleta
              Jun Pataleta Jun Pataleta
              Andrew Lyons Andrew Lyons
              Janelle Barcega Janelle Barcega
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                13/Jul/20

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour, 55 minutes
                  1h 55m