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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.9.3
    • 1.9.4
    • Glossary
    • None
    • MOODLE_19_STABLE
    • 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.

      Attachments

        Activity

          People

            quen Sam Marshall
            quen Sam Marshall
            Jake Dallimore, Mathew May, Mihail Geshoski
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              28/Jan/09