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

Lesson "import questions" mechanism not importing feedback messages

    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

        Gliffy Diagrams

          Activity

          Hide
          bushido Mark Nielsen added a comment -

          Fixed in MOODLE_16_STABLE and HEAD. Thanks Joseph

          Show
          bushido Mark Nielsen added a comment - Fixed in MOODLE_16_STABLE and HEAD. Thanks Joseph
          Hide
          stronk7 Eloy Lafuente (stronk7) added a comment -

          Reduccing the number of "Fix Versions" because it introduces some "noise" in reports. Ciao

          Show
          stronk7 Eloy Lafuente (stronk7) added a comment - Reduccing the number of "Fix Versions" because it introduces some "noise" in reports. Ciao

            People

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

              Dates

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