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

Assignment with single student displays a warning on the single grade page.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3.3, 2.4
    • Fix Version/s: 2.3.4
    • Component/s: Assignment
    • Labels:
    • Testing Instructions:
      Hide
      1. Enable debugging output
      2. Create an assignment in a course with only 1 enrolled student.
      3. Log in as a teacher and go to the single grade page for that student (View/grade all submissions -> Click on the grade button for the student)
      4. Verify you to not receive the warning message listed in the description of this issue below the submission status table.
      Show
      Enable debugging output Create an assignment in a course with only 1 enrolled student. Log in as a teacher and go to the single grade page for that student (View/grade all submissions -> Click on the grade button for the student) Verify you to not receive the warning message listed in the description of this issue below the submission status table.
    • Workaround:
      Hide

      Disable debugging. The warning produces no side effects.

      Show
      Disable debugging. The warning produces no side effects.
    • Affected Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE
    • Pull Master Branch:

      Description

      When grading an assignment with only a single student, a warning is displayed on the single grade page when debugging is enabled.

      Notice: Undefined variable: type in /git/moodle-integration/src/lib/pear/HTML/QuickForm/group.php on line 277

      Thanks to Frédéric Massart for finding this issue and providing the patch on the linked issue.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                damyon Damyon Wiese
                Reporter:
                damyon Damyon Wiese
                Integrator:
                Dan Poltawski
                Tester:
                Petr Skoda
                Participants:
                Component watchers:
                Damyon Wiese, Adrian Greeve, Mihail Geshoski, Peter Dias
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  14/Jan/13