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

php error when granting a student extension

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.6.4, 2.7.1
    • Fix Version/s: 2.6.5, 2.7.2
    • Component/s: Assignment
    • Labels:
    • Testing Instructions:
      Hide

      Create an assignment, give a student a grade, then grant that student an extension (from the menu in the user row, not the batch operations form under the grading table). Verify there is no debugging on the grant extension page.

      Show
      Create an assignment, give a student a grade, then grant that student an extension (from the menu in the user row, not the batch operations form under the grading table). Verify there is no debugging on the grant extension page.
    • Affected Branches:
      MOODLE_26_STABLE, MOODLE_27_STABLE
    • Fixed Branches:
      MOODLE_26_STABLE, MOODLE_27_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-46506-master

      Description

      When granting a student extension to a student who already has a grade, this error is seen:

      Undefined property: stdClass::$extensionduedate in /home/damyonw/Documents/Moodle/instances/i26/moodle/mod/assign/locallib.php on line 1870

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                8/Sep/14