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

Wrong E-Mail Notification when uploading files and assignment was reverted to draft

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3.8
    • Fix Version/s: 2.5.2
    • Component/s: Assignment
    • Labels:
    • Affected Branches:
      MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE

      Description

      There is a bug in the assigment modul when files are uploaded an the button "Require students click submit button" is enabled in the settings.
      If a student submits a file and clicks the button and a teacher resets this with "Revert back to Draft" and the students submits a second time,
      a Mail that he was graded is sent to the student. After submitting the first time, the student gets a mail that he submitted something in the assigment,
      which is ok. But when submitting a second time after a teacher reverted the assignment back to draft, the student gets a mail that he was graded,
      even if there is no grade or comment.

      Steps to reproduce:
      1. Create an assignment for file upload where "Require students click submit button" is enabled in the settings
      2. Submit a file with a student user in the assigment and click "Submit assignment" button
      3. Revert the submission to draft with a teacher
      4. Submit a new file and check the E-Mail Notification, it says that the student was graded, but there should be a mail that something was submitted

      We are using Moodle 2.3.2+ (Build: 20120920)

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            pklinka Peter Klinka
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              9/Sep/13