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

If we choose "blind marking", the student assignment notifications are sent to noreplyaddress

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 2.7.2
    • Assignment
    • None
    • MOODLE_27_STABLE

      1. Add a new assignment
      2. Choose "Blind marking: YES"
      3. Then, if a student uploads a file, the email is wrongly sent to the configured noreplyaddress

      In mod/assign/locallib.php (l:4672)
      $this->send_notification($user, $user, ...

      then still in locallib.php (l:4573)
      if ($blindmarking) {
      $info->username = get_string('participant', 'assign') . ' ' . $uniqueidforuser;
      $userfrom->firstname = get_string('participant', 'assign');
      $userfrom->lastname = $uniqueidforuser;
      $userfrom->email = $CFG->noreplyaddress;
      ...

      the $userfrom is updated with the noreplyaddress but as it's the same object, the $userto is updated as well.

            Unassigned Unassigned
            jleglaunec Julien
            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.