[Teak and Ulmo]: Completion checkmark(green tick) disappears on refresh for randomized Problem Bank XBlock

Hello everyone,

I’m encountering an inconsistent completion indicator(green tick mark disappearing in unit sidebar and course outline page of LMS) issue using the new React-based content libraries - beta version (not legacy) with the Problem Bank XBlock in the following Open edX versions:

  • Teak: Checked in Tutor 20.0.3 and 20.0.5

  • Ulmo: Checked in Tutor 21.0.0

Steps to reproduce:

  1. Create and publish a content library with 5 problems.

  2. In a course, add Problem Bank XBlocks.

  3. Configure different randomization settings in separate Problem Bank XBlocks taking problems from above library:

    Scenario 1: Show 4 out of 5 problems
    → At LMS side, Student completes the 4 problems → green check mark appears on the click of Next/Previous button→ check mark remains → refresh page → check mark disappears and never reappears (In sidebar as well as in course home page).

    Scenario 2: Show 5 out of 5 problems (no randomization)
    → At LMS side, Student completes all 5 → green check mark appears and persists after refresh and navigation (In sidebar as well as in course home page).

    Scenario 3: Show 1 out of 5 problems
    → At LMS side, Student completes the 1 problem → green check mark appears → refresh page → check mark disappears and never reappears (In sidebar as well as in course home page).

Questions:

  • Is this a known issue with the Problem Bank XBlock of the completion API in Teak/Ulmo?

  • Issue seems to be populating from back-end side. So, any recommended workarounds or fixes?

Thank you for any insights or pointers!

1 Like

Hi @braden or @kmccormick - could I get your :eyes: on this question?

Thanks for the report @meet1.

Could this be related to fix: apply library_content transformer to all ItemBankMixin xblocks by MaferMazu · Pull Request #37830 · openedx/openedx-platform · GitHub ? @braden if so, would you have time to re-review and backport that?

1 Like

@kmccormick Yes, I should be able to give it another look soon, but I was really hoping someone else could give it a second set of eyes as well. It seems like an important fix.

Hi @kmccormick,

Thanks for the quick reply!

I checked PR #37830—it fixes grades in legacy libraries by applying the transformer to ItemBankMixin blocks. My issue is different: the completion checkmark disappears on refresh only for randomized (subset) Problem Bank XBlocks in the new React libraries, while full display works fine. It’s about completion persistence, not grading.

Thanks!