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

Allow GIFT imports to set the general feedback for questions

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3.1
    • Fix Version/s: 2.4
    • Component/s: Questions
    • Labels:
    • Testing Instructions:
      Hide

      1. Import the file from question/format/gift/tests/fixtures/questions.gift.txt in the codebase.

      2. One of imported questions will be called Q1. Edit that question, and verify that it has General feedback "This is, of course, a Hitchiker's Guide to the Galaxy reference."

      Show
      1. Import the file from question/format/gift/tests/fixtures/questions.gift.txt in the codebase. 2. One of imported questions will be called Q1. Edit that question, and verify that it has General feedback "This is, of course, a Hitchiker's Guide to the Galaxy reference."
    • Affected Branches:
      MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_24_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      This would be useful, we just need to find a way to implement this which is mostly backwards compatible.

      The suggestion is to have a new separator, like ## to separate the general feedback from the rest of the question definition.

      The danger is that people are already using the character sequence ## in their questions for other reasons, in which case this change would break their import files.

      So, it is a trade-off. Useful new feature, at the risk of breaking existing GIFT files. We can reduce the risk by using a more unlikely character sequence like #### or #~#. Really, someone needs to make a design decision.

        Attachments

          Activity

            People

            • Assignee:
              timhunt Tim Hunt
              Reporter:
              timhunt Tim Hunt
              Integrator:
              Eloy Lafuente (stronk7)
              Tester:
              Rajesh Taneja
              Participants:
              Component watchers:
              Tim Hunt, Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                3/Dec/12