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

Lesson "import questions" mechanism not importing feedback messages

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.6
    • Fix Version/s: 1.6.1, 1.7
    • Component/s: Lesson
    • Labels:
      None
    • Affected Branches:
      MOODLE_16_STABLE
    • Fixed Branches:
      MOODLE_16_STABLE, MOODLE_17_STABLE

      Description

      Lesson "import questions" mechanism is not importing feedback messages.
      Diagnostic and fix: in file mod\lesson\locallib.php at line 248
      replace: $answer->feedback = $question->feedback[$key];
      with: $answer->response = $question->feedback[$key];
      NOTE.- It's a pity that the naming conventions of such "objects" as feedback and responses is not coherent throughout Moodle, causing such bugs.
      Joseph

        Attachments

          Activity

            People

            Assignee:
            bushido Mark Nielsen
            Reporter:
            rezeau Joseph Rézeau
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              20/Jul/06