View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
11320Bug reportsSurvey editingpublic2016-06-13 12:27
Reporterjmlorenzo Assigned ToLouisGac 
PriorityurgentSeverityminor 
Status closedResolutionfixed 
Product Version2.50.x 
Summary11320: When clicking "Insert new answer option" Two new rows are added to the answers table
Description

Survey editing
Press "Edit answer option button"
Press "Insert a new answer button after this one" (Left side of the screen)
A new row is added.
Press "Insert a new answer button after this one", the button corresponding to the second row, the one previously added.
Now two new rows are added to the answers table.

Steps To Reproduce

Survey editing
Press "Edit answer option button"
Press "Insert a new answer button after this one" (Left side of the screen)
A new row is added.
Press "Insert a new answer button after this one", the button corresponding to the second row, the one previously added.
Now two new rows are added to the answers table.

TagsNo tags attached.
Attached Files
Bug heat4
Complete LimeSurvey version number (& build)Version 2.50+ Build 160529
I will donate to the project if issue is resolvedNo
BrowserGoogle Chrome
Database type & versionMYSQL 5.7
Server OS (if known)Windows 10 Professional
Webserver software & version (if known)Apache 2.4.18
PHP Version5.5

Relationships

related to 11139 closedLouisGac Subquestion: add error, more than 1 subquestion will be added 

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2016-06-02 19:42

administrator   ~39112

I can reproduce.

LouisGac

LouisGac

2016-06-07 12:42

developer   ~39275

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

c_schmitz

c_schmitz

2016-06-13 12:27

administrator   ~39497

Version 2.50 Build 160613 released

Related Changesets

LimeSurvey: master 01a4c56e

2016-06-07 09:37:34

LouisGac

Details Diff
Fixed issue 11320: When clicking "Insert new answer option" Two new rows are added to the answers table
Fixed issue 11139: Subquestion: add error, more than 1 subquestion will be added
Affected Issues
11139, 11320
mod - application/views/admin/survey/Question/answerOptions_view.php Diff File
mod - application/views/admin/survey/Question/subquestionsAndAnswers/_answer_option.php Diff File
mod - scripts/admin/answers.js Diff File

LimeSurvey: master a63798c0

2016-06-07 10:34:25

LouisGac

Details Diff
Fixed issue 11320: When clicking "Insert new answer option" Two new rows are added to the answers table (multilang) Affected Issues
11320
mod - application/controllers/admin/questions.php Diff File
mod - application/views/admin/survey/Question/answerOptions_view.php Diff File
mod - application/views/admin/survey/Question/subquestionsAndAnswers/_answer_option.php Diff File
mod - scripts/admin/answers.js Diff File

Issue History

Date Modified Username Field Change
2016-06-02 12:34 jmlorenzo New Issue
2016-06-02 12:34 jmlorenzo File Added: Limesurvey_bug_20160602_1234.png
2016-06-02 19:42 c_schmitz Note Added: 39112
2016-06-02 19:42 c_schmitz Priority none => urgent
2016-06-07 10:10 LouisGac Sticky Issue No => Yes
2016-06-07 10:10 LouisGac Relationship added related to 11139
2016-06-07 12:42 LouisGac Changeset attached => LimeSurvey master 01a4c56e
2016-06-07 12:42 LouisGac Changeset attached => LimeSurvey master a63798c0
2016-06-07 12:42 LouisGac Note Added: 39275
2016-06-07 12:42 LouisGac Assigned To => LouisGac
2016-06-07 12:42 LouisGac Resolution open => fixed
2016-06-07 12:43 LouisGac Status new => resolved
2016-06-07 12:45 LouisGac Sticky Issue Yes => No
2016-06-13 12:27 c_schmitz Note Added: 39497
2016-06-13 12:27 c_schmitz Status resolved => closed
2019-11-01 17:25 c_schmitz Category Survey design => Survey editing