View Issue Details

This issue affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
17604Bug reportsErgonomypublic2026-10-29 20:37
ReporterDenisChenu Assigned Toc_schmitz  
PrioritynoneSeveritypartial_block 
Status resolvedResolutionfixed 
Product Version3.25.20 
Summary17604: No confirm action in regenerate question code
Description

There are no confirmation when click on link to reset question code !

Steps To Reproduce

See screencast , goes to menu , regenerate question code

Additional Information
  1. Since question code can be used in Expression : this can block a lot of survey
  2. Since this menu are used a lot : it's so easy to click on it
  3. Since there are an DB update action : this must be a POST action controlled.
TagsNo tags attached.
Attached Files
Peek 17-09-2021 10-23.gif (747,808 bytes)
Bug heat6
Complete LimeSurvey version number (& build)3.27.17
I will donate to the project if issue is resolvedNo
Browsernot relevant
Database type & versionnot relevant
Server OS (if known)not relevant
Webserver software & version (if known)not relevant
PHP Versionnot relevant
Git branch / Pull Request URLN/A

Users monitoring this issue

There are no users monitoring this issue.

Activities

ollehar

ollehar

2021-09-17 11:14

reporter   ~66509

You want a modal? "Are you sure?"

DenisChenu

DenisChenu

2021-09-17 12:07

developer   ~66510

I prefer a real 2 step action :
Click on link :
Show page with a form with confirm button and maybe some detail, with the survey menu etc …

But : the important thing is not what i want : it's a really big issue : broke survey in one link !

ollehar

ollehar

2021-09-17 12:08

reporter   ~66511

Hm, yeah, it's a good point.

ollehar

ollehar

2021-09-17 12:08

reporter   ~66512

Although we won't touch this for LS3. But for LS5.

DenisChenu

DenisChenu

2021-09-17 12:08

developer   ~66513

Why ?
It's a real issue here.

c_schmitz

c_schmitz

2026-10-29 20:37

administrator   ~87006

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=41160

Related Changesets

LimeSurvey: master 6f27f773

2026-10-29 20:37

c_schmitz


Details Diff
Fixed issue 17604: Regenerating question codes from the survey tools menu happened immediately without asking for confirmation
Dev The Straight/By question group menu items open the confirmation modal; SurveyAdministrationController::actionRegenerateQuestionCodes() only accepts POST (CSRF-checked) with subaction as POST parameter
Dev Removed the unused view admin/survey/surveybar_tools.php and fixed the regenerateQuestionCodes action name in SurveyAdministrationController::accessRules()
Affected Issues
17604
mod - application/controllers/SurveyAdministrationController.php Diff File
rm - application/views/admin/survey/surveybar_tools.php Diff
mod - application/views/surveyAdministration/partial/topbar/surveyToolsDropdownItems.php Diff File

Issue History

Date Modified Username Field Change
2021-09-17 10:26 DenisChenu New Issue
2021-09-17 10:26 DenisChenu File Added: Peek 17-09-2021 10-23.gif
2021-09-17 11:14 ollehar Note Added: 66509
2021-09-17 11:14 ollehar Bug heat 0 => 2
2021-09-17 12:07 DenisChenu Note Added: 66510
2021-09-17 12:07 DenisChenu Bug heat 2 => 4
2021-09-17 12:08 ollehar Note Added: 66511
2021-09-17 12:08 ollehar Note Added: 66512
2021-09-17 12:08 DenisChenu Note Added: 66513
2021-09-17 12:45 galads Assigned To => galads
2021-09-17 12:45 galads Status new => confirmed
2026-10-29 20:37 c_schmitz Changeset attached => LimeSurvey master 6f27f773
2026-10-29 20:37 c_schmitz Note Added: 87006
2026-10-29 20:37 c_schmitz Assigned To galads => c_schmitz
2026-10-29 20:37 c_schmitz Status confirmed => resolved
2026-10-29 20:37 c_schmitz Resolution open => fixed
2026-10-29 20:37 c_schmitz Bug heat 4 => 6