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

Random Glossary block returns an error when you delete the linked glossary

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.3.1
    • Fix Version/s: 2.3.4
    • Component/s: Glossary
    • Labels:

      Description

      Notice: Undefined index: 72 in S:\htdocs\moodle\blocks\glossary_random\block_glossary_random.php on line 132

      We're getting the above error on a course with the glossary and glossary random module installed.

      Reproduction steps:

      1. switch on debugging
      2. add a glossary activity (can be empty)
      3. add a Random Glossary block and configure it - just need to point it at the glossary you added and save
      4. delete the original Glossary
      5. Refresh the course page

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              phalacee Jason Fowler
              Reporter:
              danbuntu Dan Attwood
              Integrator:
              Dan Poltawski
              Tester:
              Rossiani Wijaya
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              5 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                14/Jan/13