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

[Test failure] TC_AUTHOR_151: Unlimited attempts cannot be assigned in problems #371

Closed
BryanttV opened this issue May 28, 2024 · 3 comments
Labels
redwood release blocker Blocks the upcoming release (fix needed) release testing Affects the upcoming release (attention needed)

Comments

@BryanttV
Copy link

Release

Redwood

Expected behavior

As a course author, I want to set up a problem with unlimited attempts, so that students can submit their answers as many times as they want.

Actual behavior

As a course author, I cannot assign a problem with unlimited attempts. It happens when you already have a set number of attempts and want to change to unlimited attempts.

Steps to reproduce

  1. From Studio create a problem.
  2. Configure the problem with a number of attempts, e.g.: 5, and save.
  3. Edit the problem try to assign unlimited attempts, and save
  4. The problem continues to have the same number of attempts assigned previously
TC_AUTHOR_151.mp4

Additional information

It happens in all problems, but it does not happen with the legacy editor.

@BryanttV BryanttV added needs triage release testing Affects the upcoming release (attention needed) redwood labels May 28, 2024
@mariajgrimaldi mariajgrimaldi changed the title [Test failure] TC_AUTHOR_151: Unlimited attempts cannot be assigned in problems [Test failure] TC_AUTHOR_151: Unlimited attempts cannot be assigned in problems May 30, 2024
@mariajgrimaldi
Copy link
Member

I can confirm this issue is currently happening in the redwood sandbox. Here's what I've found:

  • This happens even without publishing the unit
  • When selecting unlimited attempts after setting a limited attempts to any number, the request doesn't include the unlimited attempt change:
    image
  • When changing the number of attempts, it sends the new change accordingly:
    image

I'll be reporting this in the frontend-lib-content-components repo.

@mariajgrimaldi
Copy link
Member

The PR taking care of this issue was merged in https://github.com/openedx/frontend-lib-content-components. I asked the maintainers for some guidance on applying those changes to redwood.

@mariajgrimaldi
Copy link
Member

I can confirm this is working on the redwood sandbox:

Screencast.from.10-06-24.10.18.40.webm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
redwood release blocker Blocks the upcoming release (fix needed) release testing Affects the upcoming release (attention needed)
Projects
Development

No branches or pull requests

3 participants