Moodle
  1. Moodle
  2. MDL-6323

Lesson "import questions" mechanism not importing feedback messages

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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
    • Rank:
      28406

      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

        Activity

        Hide
        Mark Nielsen added a comment -

        Fixed in MOODLE_16_STABLE and HEAD. Thanks Joseph

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

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

        Show
        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: