Moodle
  1. Moodle
  2. MDL-38981

Wrong responsetemplateformat when restoring 1.9 essay questions

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.5
    • Fix Version/s: 2.5
    • Component/s: Questions
    • Labels:
    • Testing Instructions:
      Hide

      Import the attached file essay_question_19.xml. It contains just an essay question exported from Moodle 1.9.
      Verify that responsetemplateformat and graderinfoformat are both set to 1 in the database for this question in the qtype_essay_options table (you can also verify that an editor is available for these fields when you edit this question)

      Show
      Import the attached file essay_question_19.xml. It contains just an essay question exported from Moodle 1.9. Verify that responsetemplateformat and graderinfoformat are both set to 1 in the database for this question in the qtype_essay_options table (you can also verify that an editor is available for these fields when you edit this question)
    • Affected Branches:
      MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE
    • Pull Master Branch:
    • Rank:
      49084

      Description

      This is a follow up of MDL-10516 discovered during testing.
      When restoring old essay questions from Moodle 1.9 backups new created fields responsetemplateformat and graderinfoformat should be set to FORMAT_HTML.

        Issue Links

          Activity

          Hide
          Tim Hunt added a comment -

          +1. I think we just need testing instructions, and then this is ready for integration.

          Show
          Tim Hunt added a comment - +1. I think we just need testing instructions, and then this is ready for integration.
          Hide
          Jean-Michel Vedrine added a comment -

          essay question exported from Moodle 1.9

          Show
          Jean-Michel Vedrine added a comment - essay question exported from Moodle 1.9
          Hide
          Jean-Michel Vedrine added a comment -

          Testing instructions and sample file added. I think this is ready for integration.

          Show
          Jean-Michel Vedrine added a comment - Testing instructions and sample file added. I think this is ready for integration.
          Hide
          Tim Hunt added a comment -

          Yes. Submitting for integration.

          Show
          Tim Hunt added a comment - Yes. Submitting for integration.
          Hide
          Dan Poltawski added a comment -

          Integrated to master. Thanks Jean-Michel!

          Show
          Dan Poltawski added a comment - Integrated to master. Thanks Jean-Michel!
          Hide
          Ankit Agarwal added a comment -

          All good.
          Passing.
          Thanks

          Show
          Ankit Agarwal added a comment - All good. Passing. Thanks
          Hide
          Eloy Lafuente (stronk7) added a comment -

          Your awesome contributions are now part of Moodle, your fav LMS out there.

          Closing this as fixed.

          Many thanks for all the hard work, ciao

          Show
          Eloy Lafuente (stronk7) added a comment - Your awesome contributions are now part of Moodle, your fav LMS out there. Closing this as fixed. Many thanks for all the hard work, ciao

            People

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

              Dates

              • Created:
                Updated:
                Resolved: