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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 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
    • 3.1.4, 3.2.1
    • Glossary
    • MOODLE_29_STABLE, MOODLE_30_STABLE, MOODLE_31_STABLE
    • MOODLE_31_STABLE, MOODLE_32_STABLE
    • MDL-55809-master
    • 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

    Description

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

      Attachments

        Issue Links

          Activity

            People

              franziskah Franziska Hübler
              franziskah Franziska Hübler
              John Okely John Okely
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Rajesh Taneja Rajesh Taneja
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Sujith Haridasan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                9/Jan/17