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

glossary does not preserve files author and license across import/export

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.9.5, 2.9.6, 2.9.7, 2.9.8, 3.0.3, 3.0.4, 3.0.5, 3.1, 3.1.1, 3.1.2
    • Fix Version/s: 3.1.4, 3.2.1
    • Component/s: Glossary
    • Testing Instructions:
      Hide
      1. Create a glossary module in a course
      2. Create a couple of entries logged in as different users. Upload photos with license and author set.
        1. Set one author to

          < > & &lt; &gt; &amp; ' \' 碁 \ \\ 

        2. Set the other author to

          </FILEAUTHOR><MALICIOUSXML>oh no!</MALICIOUSXML>

      3. Export the glossary
      4. Check that the file author is present
      5. Import the glossary
      6. Verify that the import is successful, and the image is shown
      7. Edit the entry
      8. Double click the image.
      9. Click browse repositories
      10. Select embedded files
      11. Select the new image
      12. Make sure the author is preserved and the names are the same and the license is what you set it to
      Show
      Create a glossary module in a course Create a couple of entries logged in as different users. Upload photos with license and author set. Set one author to < > & &lt; &gt; &amp; ' \' 碁 \ \\ Set the other author to </FILEAUTHOR><MALICIOUSXML>oh no!</MALICIOUSXML> Export the glossary Check that the file author is present Import the glossary Verify that the import is successful, and the image is shown Edit the entry Double click the image. Click browse repositories Select embedded files Select the new image Make sure the author is preserved and the names are the same and the license is what you set it to
    • Affected Branches:
      MOODLE_29_STABLE, MOODLE_30_STABLE, MOODLE_31_STABLE
    • Fixed Branches:
      MOODLE_31_STABLE, MOODLE_32_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-55809-master

      Description

      The file data author and license is not stored in the exported xml file for a glossary export.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  9/Jan/17