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

Coding exception thrown in view all submissions page (assign tool) with "requires grading" filter

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.3.2, 3.3.3, 3.4, 3.4.3, 3.5.1, 3.6
    • Fix Version/s: 3.4.4, 3.5.1
    • Component/s: Assignment
    • Labels:
    • Testing Instructions:
      Hide

      Testing steps:

      1. Create an assignment activity with the following properties:
        1. No "Feedback comments"
        2. Maximum grade : nothing
        3. Grade type : none
      2. Go to assignment page.
      3. Click "View all submissions button"
      4. Under "Options" section, choose "Requires grading" in "Filter" select box
        1. Confirm that there were no errors (for example, a coding exception)
        2. Confirm that the "View all submissions" grading table is listed without any students
           
      5. Create an assignment activity with the following properties:
        1. No "Feedback comments"
        2. Grade type : Scale
        3. Scale: 'Default competence scale'
      6. Go to assignment page.
      7. Click "View all submissions button"
      8. Under "Options" section, choose "Requires grading" in "Filter" select box
        1. Confirm that there were no errors (for example, a coding exception)
        2. Confirm that the "View all submissions" grading table is listed without any students
      9. Login as the first student and submit something for the second assignment
      10. Login as a teacher and view the assignment again.
      11. Click "View all submissions button"
      12. Under "Options" section, choose "Requires grading" in "Filter" select box
        1. Confirm that there were no errors (for example, a coding exception)
        2. Confirm that the "View all submissions" grading table is listed with one student
      Show
      Testing steps: Create an assignment activity with the following properties: No "Feedback comments" Maximum grade : nothing Grade type : none Go to assignment page. Click "View all submissions button" Under "Options" section, choose "Requires grading" in "Filter" select box Confirm that there were no errors (for example, a coding exception) Confirm that the "View all submissions" grading table is listed without any students   Create an assignment activity with the following properties: No "Feedback comments" Grade type : Scale Scale: 'Default competence scale' Go to assignment page. Click "View all submissions button" Under "Options" section, choose "Requires grading" in "Filter" select box Confirm that there were no errors (for example, a coding exception) Confirm that the "View all submissions" grading table is listed without any students Login as the first student and submit something for the second assignment Login as a teacher and view the assignment again. Click "View all submissions button" Under "Options" section, choose "Requires grading" in "Filter" select box Confirm that there were no errors (for example, a coding exception) Confirm that the "View all submissions" grading table is listed with one student
    • Affected Branches:
      MOODLE_33_STABLE, MOODLE_34_STABLE, MOODLE_35_STABLE, MOODLE_36_STABLE
    • Fixed Branches:
      MOODLE_34_STABLE, MOODLE_35_STABLE
    • Pull from Repository:
    • Pull 3.5 Branch:
    • Pull Master Branch:
      MDL-60950-master

      Description

      Steps to reproduce:

      1. Create an assignment activity with the following properties:
        1. No "Feedback comments"
        2. Maximum grade : nothing
        3. Grade type : none
      2. Go to assignment page.
      3. Click "View all submissions button"
      4. Under "Options" section, choose "Requires grading" in "Filter" select box

      A coding exception is thrown in "get_grade_item" function since there is no entry in grade_item table for this assignment

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                3 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  9/Jul/18

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 20 minutes
                  20m