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

Glossary 'showentry' links not encoded / decoded during backup & restore

    Details

    • Testing Instructions:
      Hide
      1. Create a glossary with at least one entry in it
      2. Set the glossary display format to 'Entry list'
      3. Copy the link for one of the glossary entries and paste it into a text area (e.g. the 'intro' field for the glossary itself)
      4. Backup & restore the activity
      5. Check that the link now leads to the newly restored entry, not the original entry
      Show
      Create a glossary with at least one entry in it Set the glossary display format to 'Entry list' Copy the link for one of the glossary entries and paste it into a text area (e.g. the 'intro' field for the glossary itself) Backup & restore the activity Check that the link now leads to the newly restored entry, not the original entry
    • Affected Branches:
      MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE
    • Pull Master Branch:
      MDL-37801_glossary_links

      Description

      Set the glossary display format to 'Entry list'
      Copy the link for one of the glossary entries and paste it into a text area (e.g. the 'intro' field for the glossary itself)
      Backup & restore the activity

      Expected result:
      The 'showentry' link now links to the entry in the newly-restored glossary

      Actual result:
      The link still links to the entry in the original glossary

      I have a patch which I will attach in a moment

        Gliffy Diagrams

          Attachments

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  11/Mar/13