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

Feedback not available to student on assignments unless a grade has been assigned WITH PATCH

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9
    • Fix Version/s: 1.9, 2.0
    • Component/s: Assignment (2.2)
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE, MOODLE_20_STABLE

      Description

      Feedback to students is not made available to students unless a grade has also been assigned. This is a bug caused by the $feedback variable not being set prior to being checked on line 244 (1.9 Beta3) of mod/assignment/lib.php.

      To fix, after $submission = $this->get_submission($USER->id); around line 233 of mod/assignment/lib.php, add the line $feedback = $submission->submissioncomment;

        Attachments

          Activity

            People

            Assignee:
            poltawski Dan Poltawski
            Reporter:
            ganderson Gary Anderson
            Tester:
            Nobody
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              3/Mar/08