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

Wrong column name in choice 2.0 backup code

    XMLWordPrintable

    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'.

        Attachments

          Activity

            People

            Assignee:
            blepoxp Glenn Ansley
            Reporter:
            mudrd8mz David Mudrák (@mudrd8mz)
            Integrator:
            Eloy Lafuente (stronk7)
            Tester:
            Helen Foster
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Dan Marsden, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

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