Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-5468

Grade Me takes you to the wrong database entry to grade when there are multiples

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • 2.7.3, 2.8.1
    • Block: Grade me
    • None
    • 2.7, 2.8
    • MOODLE_27_STABLE, MOODLE_28_STABLE

      If a student makes multiple database entries, they will all show up in the Grade Me block as needing to be rated. No matter which one the teacher selects to rate, you wind up going to the first entry the student made, even when that entry has already been rated.

      The fix is easy. Change line 154 in lib.php to:
      $submissionlink .= '/mod/data/view.php?rid='.$submissionid.'&mode=single';
      Instead of:
      $submissionlink .= '/mod/data/view.php?d='.$submissionid.'&mode=single';

      Changing to rid takes you to the actual record id that needs to be rated.

            tbannister Tyler Bannister
            alrachels AL Rachels
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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