openedx / openedx/openedx-platform

Course from Nutmeg release does not import correctly to Sumac

Open
#38,661 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
8.2k
Forks
4.4k
Avg merge
6d 18h
Merged PRs (30d)
42

Description

Summary

Importing an older course from another platform that is on Nutmeg release causes the import to hang. This seems to happen due to the way policy.json is created.

I compared the policy.json of two courses. One on the Nutmeg release and one on Sumac. I exported the courses and found in the policies/<course_name>/policy.json of the Nutmeg release there are some fields which do not show in Sumac.

We have moved on from Nutmeg and are transferring courses over but we cannot upgrade the old platform. I have noticed in the policy.json there is an additional tab in the tabs fields

        "tabs": [
            {
                "course_staff_only": false,
                "name": "Home",
                "type": "course_info"
            },

I do not find this field in the Sumac version and when this is removed from the Nutmeg course, it imports correctly. I looked a bit further into this and it seems to be the old deprecated pages from before MFEs were introduced.

Will there be a fix for importing courses from older releases?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the import with an exported Nutmeg course and inspect policies/<course_name>/policy.json, especially the extra course_info tab in tabs. Trace how the course import handles this deprecated field and verify that the older course imports successfully without manually editing policy.json.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.