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

Fix instructor feedback not being given when showPartialCorrectAnswers is false. #2307

Conversation

drgrice1
Copy link
Member

@drgrice1 drgrice1 commented Jan 24, 2024

This applies to problems rendered in the library browser or PG problem editor. In that case if $showPartialCorrectAnswers is false, then the instructor is not given the problem status (correct/incorrect) in the feedback. This is because the renderProblem method does not set the forceShowAttemptResults (which overrides the $showPartialCorrectAnswers variable in PG) option. So that is fixed by setting that option from the submit buttons for instructors.

@drgrice1 drgrice1 force-pushed the bugfix/instructor-feedback-showparicalcorrect branch 2 times, most recently from be72eda to 98af641 Compare January 24, 2024 22:21
…s is false.

This applies to problems rendered in the library browser or PG problem
editor.  In that case if $showPartialCorrectAnswers is false, then the
instructor is not given the problem status (correct/incorrect) in the
feedback.  This is because the renderProblem method does not set the
forceShowAttemptResults (which overrides the $showPartialCorrectAnswers
variable in PG) option.  So that is fixed by setting that option from
the submit buttons for instructors.
@drgrice1 drgrice1 force-pushed the bugfix/instructor-feedback-showparicalcorrect branch from 98af641 to f207ecf Compare February 2, 2024 20:47
@drdrew42 drdrew42 merged commit c6ffeee into openwebwork:develop Feb 7, 2024
1 check passed
@drgrice1 drgrice1 deleted the bugfix/instructor-feedback-showparicalcorrect branch February 7, 2024 22:24
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