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

Implement a health-centre check that question_category->parents do not form a loop

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.9.3
    • 1.7.6, 1.8.7, 1.9.3
    • Questions
    • None
    • MOODLE_19_STABLE
    • MOODLE_17_STABLE, MOODLE_18_STABLE, MOODLE_19_STABLE

    Description

      Question categories are meant to form a tree, linked by question_category.parent.

      Write a check to test the tree structure, because at least one old site was found with a loop in their tree!

      Attachments

        Activity

          People

            timhunt Tim Hunt
            timhunt Tim Hunt
            Tim Hunt, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              15/Oct/08