Repository navigation
EVALSYS-1624 Anonymous evaluations: update answers on re-submit and add a confirmation page - #211
Merged
Merged
Conversation
…dd a confirmation page - Re-submitting a form without answer ids (e.g. after the browser Back button) now updates the stored answers instead of adding new ones. - Reset the transient NA flag from the submitted value and save the N/A option of free text questions. - Show anonymous respondents a confirmation page after submitting and hide the navigation bar and the Save/Cancel buttons for them. - Add spacing around the evaluation title. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
danielmerino
force-pushed
the
EVALSYS-1624
branch
from
November 10, 2026 12:46
0b18ba6 to
ace74d4
Compare
ottenhoff
approved these changes
Nov 10, 2026
# Conflicts: # sakai-evaluation-tool/src/java/org/sakaiproject/evaluation/tool/bundle/messages_es_ES.properties
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
https://sakaiproject.atlassian.net/browse/EVALSYS-1624
Problem
If a respondent submits an evaluation, goes back with the browser Back button and submits again, the answers are added to the response instead of replacing the previous ones, so the report shows the same person's answers twice. Anonymous evaluations make this easy to hit: after submitting, the respondent lands on an empty dashboard with no confirmation.
Changes
TakeEvalController.buildAnswers: when the form has noexistingAnswerId, look up the stored answer by template item + associated type/id before creating a newEvalAnswer. The transientNAflag is reset from the submitted value, so an answer stored as N/A can be changed. The N/A option of free text questions is now saved./take_eval/submitted,take_eval_submitted.html) with theevaluations.take.messagetext. Logged-in users still go to the dashboard.SakaiSkinInterceptor.buildNavItems,nav.html) and the Save/Cancel buttons are hidden for anonymous respondents.take_eval.html.messages_es_ES.properties: updatedevaluations.take.message, which still had an old text with placeholders.🤖 Generated with Claude Code