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

Prevent scaffolds from revealing correct answers when feedback is not permitted (really) - hotfix #1164

Conversation

drgrice1
Copy link
Member

In #986 I believed that this was set. But either something has changed since then, or I didn't have it right at that point.

In that pull request I claimed that when an answer preview occurs, scaffolds will open but not receive the green color if all answers within are correct. In particular, if a preview occurs it should not reveal that answers are correct. Unfortunately, it still is.

This fixes that by only giving the correct colors when attempt results are allowed.

… permitted (really)

In openwebwork#986 I believed that this was set.  But either something has changed
since then, or I didn't have it right at that point.

In that pull request I claimed that when an answer preview occurs,
scaffolds will open but not receive the green color if all answers
within are correct.  In particular, if a preview occurs it should not
reveal that answers are correct.  Unfortunately, it still is.

This fixes that by only giving the correct colors when attempt results
are allowed.
@Alex-Jordan Alex-Jordan merged commit 3fad277 into openwebwork:main Dec 17, 2024
3 checks passed
@drgrice1 drgrice1 deleted the scaffolds-no-reveal-correct-really-hotfix branch December 17, 2024 00:34
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