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

PADV-794 - fix: delay update_outline_from_modulestore_task after course publish. #110

Merged
merged 1 commit into from
Dec 5, 2023

Conversation

Jacatove
Copy link

@Jacatove Jacatove commented Dec 1, 2023

Description

Once a course is created in studio the course_published signal is emitted, therefore some receivers trigger some async tasks which end up failing because the modulestore can not find the latest data, which resulted in errors related to not being able to find the course, Check this discussion for more information and how to replicate those errors. The issue for us comes when working with CCX, this same error raises from time to time when one creates a CCX, therefore the CCX's outline is not generated properly and the course-ware is not showed. Currently it requires that someone manually regenerates the outline at http://localhost:18000/admin/contentstore/courseoutlineregenerate/

Changes

  • Add a delay for update_outline_from_modulestore_task

This change is based on: openedx#31307

How to replicate the issue?

Try creating multiple CCXs in stage, some of them might raise an error when loading the course.

How to test?

Create a course, the outcome should be the same as before.

Ticket

PADV-794

@Jacatove Jacatove changed the title fix: delay update_outline_from_modulestore_task after course publish. PADV-794 - fix: delay update_outline_from_modulestore_task after course publish. Dec 4, 2023
@Jacatove Jacatove merged commit 95541f5 into pearson-release/olive.stage Dec 5, 2023
5 of 35 checks passed
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

Successfully merging this pull request may close these issues.

3 participants