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

GIFT import/export code for truefalse is weird

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.6, 1.7, 1.8
    • 1.6.4, 1.7.1, 1.8
    • Questions
    • None
    • MOODLE_16_STABLE, MOODLE_17_STABLE, MOODLE_18_STABLE
    • MOODLE_16_STABLE, MOODLE_17_STABLE, MOODLE_18_STABLE

    Description

      Any code that includes a statement like

      $question->feedbacktrue = $feedback['false'];

      really needs to be rewritten.

      I think that the only actual bug was that if your question had feedback for the right answer, but not for the wrong answer, then after exporting and reimporting, that feedback was transferred to the wrong answer. That will be fixed.

      Attachments

        Activity

          People

            timhunt Tim Hunt
            timhunt Tim Hunt
            Nobody Nobody
            Safat Shahin, Tim Hunt, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              17/Jan/07