Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cms import fails to generate course outline when using development settings #36170

Open
arbrandes opened this issue Jan 24, 2025 · 1 comment
Assignees

Comments

@arbrandes
Copy link
Contributor

Description

Some time in the past year (give or take), it was noticed that a tutor dev do importdemocourse in dev mode (which uses upstream's devstack settings), the imported course does not get a generated outline, resulting in a 500 error when trying to access it in the LMS. The Tutor command uses manage.py cms import behind the scenes.

Steps to reproduce

#. Launch a Tutor instance in dev mode.
#. Run tutor dev do importdemocourse.
#. Try to access the demo course in the LMS. You should get a 500 error.

Workaround

After running the import, it's possible to fix the issue by running:

tutor dev run cms ./manage.py cms update_course_outline course-v1:OpenedX+DemoX+DemoCourse

This workaround was rejected as a fix for Tutor. Ideally, we would find a solution in edx-platform.

@arbrandes
Copy link
Contributor Author

@ormsbee, @brian-smith-tcril, FYI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants