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

PHP notice on assignment grading summary page when no grade present

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Log in as an admin.
      2. Create a course.
      3. Enrol a student in it.
      4. Enrol the admin as a teacher.
      5. Create an assignment with all submissions feedback types unchecked and the grade type set to none.
      6. Click on the assignment and confirm you do not see a PHP notice.
      Show
      Log in as an admin. Create a course. Enrol a student in it. Enrol the admin as a teacher. Create an assignment with all submissions feedback types unchecked and the grade type set to none. Click on the assignment and confirm you do not see a PHP notice.
    • Affected Branches:
      MOODLE_30_STABLE, MOODLE_31_STABLE
    • Fixed Branches:
      MOODLE_31_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-56682_master

      Description

      To recreate the issue:
      Go to a course that has at least 1 student user enrolled.
      Create an assignment, make sure "No Grade" is selected and uncheck all feedback types.
      As a teacher, go to View all submissions. You should see an error.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                4 Vote for this issue
                Watchers:
                19 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  9/Jan/17