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

Match question delete_files bug

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.1, 2.2
    • Fix Version/s: 2.1.2
    • Component/s: Questions
    • Labels:
    • Database:
      Any
    • Testing Instructions:
      Hide

      Create questions of type multiplechoice and matching, with images embedded in the Combined feedback fields.

      Try moving the questions to a question category in a different context; and backing up and restoring the coures; and make sure the images are not lost.

      Try deleting the question, and make sure the right rows are deleted from the files table.

      Show
      Create questions of type multiplechoice and matching, with images embedded in the Combined feedback fields. Try moving the questions to a question category in a different context; and backing up and restoring the coures; and make sure the images are not lost. Try deleting the question, and make sure the right rows are deleted from the files table.
    • Affected Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE
    • Fixed Branches:
      MOODLE_21_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      While reimplementing ddmatch for 2.1 I found that qtype_match->delete_files delete area files for 'qtype_multichoice'.

        Attachments

          Activity

            People

            Assignee:
            timhunt Tim Hunt
            Reporter:
            aav Artem Andreev
            Integrator:
            Sam Hemelryk
            Tester:
            Aparup Banerjee
            Participants:
            Component watchers:
            Tim Hunt, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              10/Oct/11