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

When viewing a specific version of a v2 library "problem" component, cannot submit answers #35673

Closed
bradenmacdonald opened this issue Oct 18, 2024 · 1 comment · Fixed by #35676
Labels
bug Report of or fix for something that isn't working as intended

Comments

@bradenmacdonald
Copy link
Contributor

When using the confirmation modal from #35669 , problem components cannot be tested (you can't try submitting an answer and seeing the result).

The reason is that the (frontend?) is incorrectly generating the handler URL if the "base" handler URL already has a query string:

Internal Server Error: /api/xblock/v2/xblocks/lb:OpenCraftX:ALPHA:problem:0166d443-bf7f-47f3-9f59-e208413600dc/handler/4-00c1a5e794d4da179d7f/xmodule_handler/?version=published/problem_check

Invalid version specifier 'published/problem_check'. Expected 'draft', 'published', or an integer.
@bradenmacdonald
Copy link
Contributor Author

I have started working on a fix: #35676

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Report of or fix for something that isn't working as intended
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant