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

fix: remove incorrect key type when filtering inaccessible blocks #681

Draft
wants to merge 1 commit into
base: opencraft-release/redwood.1
Choose a base branch
from

Conversation

Agrendalath
Copy link
Member

@Agrendalath Agrendalath commented Sep 7, 2024

Backport of openedx#35542.

Private-ref: BB-8469 (temporary)

@Agrendalath Agrendalath self-assigned this Sep 7, 2024
@Cup0fCoffee
Copy link
Member

@Agrendalath What is the plan for this PR? I've experienced the same issue with one of my clients, which can be replicated by adding a section with subsection, publishing, then removing the subsections (making the section empty), and publishing again. I think the side effect was that one of the new features (the outline) in LMS was broken.

@Agrendalath
Copy link
Member Author

@Cup0fCoffee, I plan to merge it after wrapping up the upstream PR. I randomly noticed this error in the logs when debugging an issue around the timed exams, but I didn't notice any learner-facing errors caused by this.

Returning the list with a 'completion' string was added in 9bc0f85. However,
the `get_accessible_sequences` method expects a list of dicts with an 'id' key.
@Agrendalath Agrendalath force-pushed the agrendalath/fix-incorrect-key-type branch from 3a169e6 to 530ba05 Compare December 16, 2024 18:25
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