Skip to content

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

Merged
farhaanbukhsh merged 1 commit into
opencraft-release/redwood.1from
agrendalath/fix-incorrect-key-type
Jan 23, 2025
Merged

fix: remove incorrect key type when filtering inaccessible blocks#681
farhaanbukhsh merged 1 commit into
opencraft-release/redwood.1from
agrendalath/fix-incorrect-key-type

Conversation

@Agrendalath

@Agrendalath Agrendalath commented Sep 7, 2024

Copy link
Copy Markdown
Member

Backport of openedx#35542.

Private-ref: BB-8469 (temporary)

@Agrendalath Agrendalath self-assigned this Sep 7, 2024
@Cup0fCoffee

Copy link
Copy Markdown
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
Copy Markdown
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.

@Agrendalath
Agrendalath force-pushed the agrendalath/fix-incorrect-key-type branch from 3a169e6 to 530ba05 Compare December 16, 2024 18:25
@Agrendalath
Agrendalath marked this pull request as ready for review January 13, 2025 23:36
@Agrendalath
Agrendalath force-pushed the agrendalath/fix-incorrect-key-type branch from 530ba05 to d83072b Compare January 13, 2025 23:36
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 d83072b to f3c8cba Compare January 20, 2025 20:03

@farhaanbukhsh farhaanbukhsh left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

  • ✅ I tested this on Tutor.
  • ✅ I read through the code
  • ❌ I checked for accessibility issues
  • ❌ Includes documentation
  • ❌ I made sure any change in configuration variables is reflected in the corresponding client's configuration-secure repository.

@farhaanbukhsh
farhaanbukhsh merged commit be897f0 into opencraft-release/redwood.1 Jan 23, 2025
@farhaanbukhsh
farhaanbukhsh deleted the agrendalath/fix-incorrect-key-type branch January 23, 2025 13:17
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