Moodle
  1. Moodle
  2. MDL-16243

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

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9.3
    • Fix Version/s: 1.7.6, 1.8.7, 1.9.3
    • Component/s: Questions
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      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!

        Gliffy Diagrams

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Tim Hunt
              Reporter:
              Tim Hunt
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: