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

Wrong column name in choice 2.0 backup code

    Details

    • Testing Instructions:
      Hide

      Difficulty: requires backup/restore

      1. make a backup of a course in 2.0 with instances of the Choice module - one having "Show unanswered" set to Yes, the other one to "No"
      2. restore the course
      3. TEST: make sure that the setting is restored correctly

      Show
      Difficulty: requires backup/restore 1. make a backup of a course in 2.0 with instances of the Choice module - one having "Show unanswered" set to Yes, the other one to "No" 2. restore the course 3. TEST: make sure that the setting is restored correctly
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE
    • Pull Master Branch:

      Description

      The file mod/choice/backup/moodle2/backup_choice_stepslib.php declares that a field 'allowunanswered' should be written into choice.xml. But such column does not exist, the right name should be 'showunanswered'.

        Gliffy Diagrams

          Attachments

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  1/Aug/11