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

Glossary entry display does not include autolinking for glossary entries that are similar to the current entry

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9.3
    • Fix Version/s: 1.9.4
    • Component/s: Glossary
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE

      Description

      To reproduce:

      0) make sure glossary autolink filter is enabled
      1) create a new main glossary
      2) add two entries:

      frog
      comes from frogspawn

      keywords: frog
      autolink, whole words only

      frogspawn
      grows into a frog

      keywords: frogspawn
      autolink, whole words only

      3) look at all entries

      you will notice that in the 'frogspawn' entry, the word 'frog' is autolinked. In the 'frog' entry, however, the word 'frogspawn' is not autolinked. It appears there is code to prevent entries linking to themselves, but this seems to be a bit too eager! It is preventing links to any glossary entry that contains the current one, as well as to just the current one.

      In other places (eg I made another entry 'zombie' 'nothing to do with either frog or frogspawn') both words link as expected.

        Gliffy Diagrams

          Attachments

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  28/Jan/09