From 7853e42b64d2ef6a21d16018af91317e0696cfeb Mon Sep 17 00:00:00 2001 From: John Roy <61093089+John-Roy123@users.noreply.github.com> Date: Wed, 28 Jan 2026 21:49:01 -0500 Subject: [PATCH 01/28] [Bugfix:SubminiPolls] Multiple Poll Response Edits Not Saving (#12351) ### Why is this Change Important & Necessary? Fixes #12281 -- When instructors tried to create more than 1 new response in a single edit for a Submini Poll, only the last response was saved and the rest were lost. ### What is the New Behavior? Each new response is now given a unique ID, preventing the previous behavior where every new response had the same ID, so the last created response overwrote all the prior responses. ### What steps should a reviewer take to reproduce or test the bug or new feature? 1) Log in as instructor 2) Create a new SubminiPoll with at least 1 response 3) Edit poll and add at least 2 new responses 4) Save poll and check it again to see if all new responses saved ### Automated Testing & Documentation Cypress tests do not currently cover specifically adding multiple responses in a single edit ### Other information Change is a minor JavaScript change - no breaking changes were made --- site/app/templates/polls/PollForm.twig | 27 ++++++++++++++++++++------ 1 file changed, 21 insertions(+), 6 deletions(-) diff --git a/site/app/templates/polls/PollForm.twig b/site/app/templates/polls/PollForm.twig index 8c2e3468efe..ffd14070e60 100644 --- a/site/app/templates/polls/PollForm.twig +++ b/site/app/templates/polls/PollForm.twig @@ -9,6 +9,7 @@ {% endif %} +