Description
When exporting and importing courses in OpenEdX, unit prerequisite settings are not preserved in the export data, resulting in lost prerequisite configurations after course import.
Environment
- Platform: OpenEdX
- Authoring Tool Version: 0.1.0
- Tutor Version: Teak

Exported course:
course.hokfktvz.tar.gz
Steps to Reproduce
- Create a course with multiple units in a subsection
- Set up prerequisites for units (e.g., Unit 2 requires completion of Unit 1)
- Navigate to the unit settings
- Configure prerequisite: "Intro 1" as prerequisite for "Intro 2"
- Verify prerequisites are working correctly in the course
- Export the course using the course export functionality
- Create a new course or clear existing course content
- Import the exported course data
- Check the unit prerequisite settings in the imported course
Expected Behavior
Unit prerequisite settings should be preserved during export and correctly restored during import, maintaining the same prerequisite relationships as the original course.
Actual Behavior
Unit prerequisites are missing after course import. Units that previously required completion of other units no longer have these prerequisite constraints configured.
Evidence
Based on the course outline shown, "Intro 2" should have "Intro 1" as a prerequisite (as indicated by the lock icon and "Prerequisite: Intro 1" text), but this configuration is lost during the export/import process.
Impact
- Severity: High - Affects course structure and learning progression
- Affected Users: Course authors, instructional designers
- Workaround: Manual reconfiguration of prerequisites after import (time-consuming for courses with many units)
Additional Information
- This issue was discovered through practical testing of course migration workflows
- The problem appears to be in the export data structure not including prerequisite metadata
- Other course elements (content, assignments, etc.) appear to export/import correctly
Possible Areas to Investigate
- Export serialization logic for unit prerequisites
- OLX format specification for prerequisite data
- Import parsing logic for prerequisite relationships
- Database schema mapping during export/import operations
Related Documentation
- [OpenEdX Course Export Documentation]
- [Unit Prerequisites Configuration Guide]
Description
When exporting and importing courses in OpenEdX, unit prerequisite settings are not preserved in the export data, resulting in lost prerequisite configurations after course import.
Environment
Exported course:
course.hokfktvz.tar.gz
Steps to Reproduce
Expected Behavior
Unit prerequisite settings should be preserved during export and correctly restored during import, maintaining the same prerequisite relationships as the original course.
Actual Behavior
Unit prerequisites are missing after course import. Units that previously required completion of other units no longer have these prerequisite constraints configured.
Evidence
Based on the course outline shown, "Intro 2" should have "Intro 1" as a prerequisite (as indicated by the lock icon and "Prerequisite: Intro 1" text), but this configuration is lost during the export/import process.
Impact
Additional Information
Possible Areas to Investigate
Related Documentation