View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
17154Bug reportsSurvey editingpublic2021-03-15 15:37
ReporterMikeatEduTech Assigned Toollehar  
PrioritynoneSeverityblock 
Status closedResolutionfixed 
Product Version4.4.7 
Summary17154: cannot edit Answer Options on active surveys
Description

I am unable to edit, add, delete, or replace answer options on List-type questions on currently active surveys. I can go through steps to change the answer options, but they will not save. It looks like they are being changed, but reloading or previewing the question reverts back to the original options. I have no problems changing answer options on inactive surveys.

Version 4.4.11+210301
Windows server, MS SQL backend

Steps To Reproduce

Create survey with List (radio) question.
Activate survey.
Attempt to change Answer Options.
Preview question after saving changes.

Olle: Also test with subquestions (array type)

Additional Information

Testing Steps:

  1. Create a survey with 1 question group and 1 List (radio) question. Add answer options.
  2. Activate survey.
  3. Execute survey. Answer options originally added should be displayed.
  4. Change answer options and save.
  5. Execute survey again.

Expected Results: New/changed answer options should be displayed.

TagsNo tags attached.
Bug heat6
Complete LimeSurvey version number (& build)4.4.11+210301
I will donate to the project if issue is resolvedNo
BrowserChrome, Edge current versions
Database type & versionMS SQL 2019
Server OS (if known)Windows server 2019
Webserver software & version (if known)IIS 10
PHP Version7.4

Users monitoring this issue

There are no users monitoring this issue.

Activities

ollehar

ollehar

2021-03-08 17:42

administrator   ~62898

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

ollehar

ollehar

2021-03-08 17:43

administrator   ~62899

Please pull and test, or wait until the next patch version (released every Monday morning) and try again. Thank you.

ollehar

ollehar

2021-03-08 17:53

administrator   ~62900

Sorry, reverted from master branch and pushed to branch bug/17154

ollehar

ollehar

2021-03-08 17:55

administrator   ~62901

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

ollehar

ollehar

2021-03-08 18:30

administrator   ~62902

I'm implementing the same fix for subquestions as well.

JHoeck

JHoeck

2021-03-09 17:03

reporter   ~62961

Works fine.

ollehar

ollehar

2021-03-09 18:41

administrator   ~62967

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

lime_release_bot

lime_release_bot

2021-03-15 15:37

administrator   ~63370

Fixed in Release 4.4.13+210315

Related Changesets

LimeSurvey: master 21fb2daf

2021-03-08 17:42:15

ollehar

Details Diff
Fixed issue 17154: Cannot edit answer options on active surveys Affected Issues
17154
mod - application/controllers/QuestionAdministrationController.php Diff File
mod - application/views/questionAdministration/answerOptionRow.twig Diff File

LimeSurvey: master dc5c347b

2021-03-08 17:42:15

ollehar


Committer: ollehar1 Details Diff
Fixed issue 17154: Cannot edit answer options on active surveys Affected Issues
17154
mod - application/controllers/QuestionAdministrationController.php Diff File
mod - application/views/questionAdministration/answerOptionRow.twig Diff File

LimeSurvey: master 1d91e97f

2021-03-08 17:50:48

ollehar

Details Diff
Revert "Fixed issue 17154: Cannot edit answer options on active surveys"

This reverts commit 21fb2daf42d2856377c2bc89bd208a2dbf63e1b4.
Affected Issues
17154
mod - application/controllers/QuestionAdministrationController.php Diff File
mod - application/views/questionAdministration/answerOptionRow.twig Diff File

Issue History

Date Modified Username Field Change
2021-03-03 03:29 MikeatEduTech New Issue
2021-03-03 11:58 vharris Status new => confirmed
2021-03-03 11:58 vharris Additional Information Updated
2021-03-08 16:24 ollehar Assigned To => ollehar
2021-03-08 16:24 ollehar Status confirmed => assigned
2021-03-08 17:42 ollehar Changeset attached => LimeSurvey master 21fb2daf
2021-03-08 17:42 ollehar Note Added: 62898
2021-03-08 17:42 ollehar Resolution open => fixed
2021-03-08 17:42 ollehar Status assigned => ready for testing
2021-03-08 17:43 ollehar Note Added: 62899
2021-03-08 17:53 ollehar Note Added: 62900
2021-03-08 17:53 ollehar Working Git branch (developer only) => bug/17154
2021-03-08 17:55 ollehar Changeset attached => LimeSurvey master 1d91e97f
2021-03-08 17:55 ollehar Note Added: 62901
2021-03-08 18:30 ollehar Note Added: 62902
2021-03-08 18:38 ollehar Steps to Reproduce Updated
2021-03-09 17:03 JHoeck Status ready for testing => resolved
2021-03-09 17:03 JHoeck Note Added: 62961
2021-03-09 18:41 ollehar1 Changeset attached => LimeSurvey master dc5c347b
2021-03-09 18:41 ollehar Note Added: 62967
2021-03-15 15:37 lime_release_bot Note Added: 63370
2021-03-15 15:37 lime_release_bot Status resolved => closed