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

Restore handler doesnt apply the url decode rules to options of a multichoice question in a lesson

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.1, 2.6.5, 2.7.2
    • Fix Version/s: 2.8
    • Component/s: Backup, Lesson
    • Labels:
    • Testing Instructions:
      Hide

      This should be tested in MOODLE_26_STABLE and MOODLE_27_STABLE but not in master as the problem was fixed in master by another issue

      1. create a lesson
      2. add a multichoice question page to the lesson
      3. add a link to any module in the question description and the question answer and response fields
      4. backup the course with all defaults
      5. Restore the course as "new course"
      6. Go to the lesson
      7. verify that the links to the relevant activity have been correctly restored and are not broken
      Show
      This should be tested in MOODLE_26_STABLE and MOODLE_27_STABLE but not in master as the problem was fixed in master by another issue create a lesson add a multichoice question page to the lesson add a link to any module in the question description and the question answer and response fields backup the course with all defaults Restore the course as "new course" Go to the lesson verify that the links to the relevant activity have been correctly restored and are not broken
    • Affected Branches:
      MOODLE_23_STABLE, MOODLE_26_STABLE, MOODLE_27_STABLE
    • Fixed Branches:
      MOODLE_28_STABLE

      Description

      Replication steps:

      1. create a lesson
      2. add a question page to the lesson
      3. add a link to any module in the question description and the question answer fields
      4. backup the course with all defaults
      5. Restore the course as "new course" in 2.3/master
      6. Go to the lesson

      Expected result: the link to the relevant activity should be restored

      Actual result: the link in options broken

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jmvedrine Jean-Michel Vedrine
              Reporter:
              ankit_frenz Ankit Agarwal
              Peer reviewer:
              Frédéric Massart
              Integrator:
              Damyon Wiese
              Tester:
              Rajesh Taneja
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                10/Nov/14