Issue Details (XML | Word | Printable)

Key: MDL-16243
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Tim Hunt
Reporter: Tim Hunt
Votes: 0
Watchers: 0
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

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

Created: 28/Aug/08 11:32 AM   Updated: 21/Oct/08 10:18 PM
Return to search
Component/s: Questions
Affects Version/s: 1.9.3
Fix Version/s: 1.7.6, 1.8.7, 1.9.3

Participants: Tim Hunt
Security Level: None
Resolved date: 28/Aug/08
Affected Branches: MOODLE_19_STABLE
Fixed Branches: MOODLE_17_STABLE, MOODLE_18_STABLE, MOODLE_19_STABLE


 Description  « Hide
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!

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
tjhunt committed 1 file to 'Moodle CVS' on branch 'MOODLE_17_STABLE' - 28/Aug/08 01:06 PM
MDL-16243 Implement a health-centre check that the question categories are arranged properly in tree structures.
MODIFY admin/health.php   Rev. 1.16.2.3    (+105 -1 lines)
tjhunt committed 1 file to 'Moodle CVS' on branch 'MOODLE_18_STABLE' - 28/Aug/08 01:06 PM
MDL-16243 Implement a health-centre check that the question categories are arranged properly in tree structures.
MODIFY admin/health.php   Rev. 1.16.6.2    (+105 -1 lines)
tjhunt committed 1 file to 'Moodle CVS' - 28/Aug/08 01:06 PM
MDL-16243 Implement a health-centre check that the question categories are arranged properly in tree structures.
MODIFY admin/health.php   Rev. 1.23    (+106 -1 lines)
tjhunt committed 1 file to 'Moodle CVS' on branch 'MOODLE_19_STABLE' - 28/Aug/08 01:06 PM
MDL-16243 Implement a health-centre check that the question categories are arranged properly in tree structures.
MODIFY admin/health.php   Rev. 1.17.4.3    (+105 -1 lines)