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

Glossary delete_instance() is missing to delete glossary entries...

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Glossary
    • Labels:
      None
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      It seems that somewhere in the migration of 1.9 to 2.0, we stopped deleting glossary_entries in the glossary delete_instance() function.

      This causes all the entries of deleted glossaries to be orphaned in DB.

      So, we need to:

      1) fix delete_instance()
      2) run upgrade step cleaning all those orphans.

      Going to post patch here soon... ciao

        Attachments

          Activity

            People

            • Assignee:
              stronk7 Eloy Lafuente (stronk7)
              Reporter:
              stronk7 Eloy Lafuente (stronk7)
              Tester:
              Nobody
              Participants:
              Component watchers:
              Adrian Greeve, Mihail Geshoski, Peter Dias
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                24/Nov/10