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

[BUG FIX] Ensure deleted resources in major publications are removed from section resources [MER-2987] #4621

Merged
merged 2 commits into from
Feb 2, 2024

Conversation

darrensiegel
Copy link
Contributor

@darrensiegel darrensiegel commented Feb 1, 2024

The fix here was to add a step before the final full hierarchy "refetch" which “cleans” the children attribute of all section resource records, removing any SR id which no longer maps back to a currently published, non-deleted project resource.

Because it was not possible to reproduce locally this bug, the plan to verify this bug fix is to test it out on a copy of the production DB running on Heliotron, before we merge this to 26.3

UPDATE: I verified that these changes fix the problem faced by the affected course section (https://heliotron.oli.cmu.edu/sections/test_cmu_98179_student_taught_/instructor_dashboard/manage) on a Feb 1 copy of Prod.

@eliknebel eliknebel merged commit c882727 into hotfix-v0.26.3 Feb 2, 2024
10 of 11 checks passed
@eliknebel eliknebel deleted the clean-deleted-missing-resources branch February 2, 2024 15:26
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.

2 participants