View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
11538Bug reportsSurvey editingpublic2016-08-29 12:39
ReporterMazi Assigned Tomarkusfluer 
PrioritynormalSeveritypartial_block 
Status closedResolutionfixed 
Product Version2.50.x 
Target Version2.50.xFixed in Version2.50.x 
Summary11538: Wrong codes are created when using quick add feature
Description

There is an issue with how the codes are currently created by the quick add feature. Work-flow to reproduce: After having added a question and going to add answers, the first item is already there. When going directly to the quick add feature then and adding answer texts like "yes", "no" and "no answer" and clicking "replace", the assigned codes are "A2", "A3", "A4" or "SQ002", "SQ003", "SQ004" when adding sub-questions.

Issues:

  1. These codes seems to have changed. Previously, just numeric codes were used for the quick add feature. Please keep that, otherwise users currently designing their surveys (and having updated their LS system) have to manually adjust their codes all the time.

  2. In addition to that, the numbering is wrong. When using "replace" it should start with "1" and not "2" or "A2".

Steps To Reproduce

Create a question which allows adding custom answers/subquestions and use the quick add feature as described above.

TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)160810
I will donate to the project if issue is resolvedNo
BrowserChrome
Database type & versionMySQL 5
Server OS (if known)Ubuntu
Webserver software & version (if known)Apache 2
PHP Version5.5

Users monitoring this issue

There are no users monitoring this issue.

Activities

markusfluer

markusfluer

2016-08-24 12:03

administrator   ~40428

Recreated initial behaviour of 2.50+
Quick add replace now always starts with 1 and takes into account the used alphanumerical labels.

markusfluer

markusfluer

2016-08-24 12:09

administrator   ~40431

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

c_schmitz

c_schmitz

2016-08-29 12:39

administrator   ~40549

Version 2.51.0 Build 160829 released

Related Changesets

LimeSurvey: master 905c976c

2016-08-24 10:02:15

markusfluer

Details Diff
Fixed issue 11538: Wrong codes are created when using quick add feature Affected Issues
11538
mod - scripts/admin/answers.js Diff File
mod - scripts/admin/subquestions.js Diff File

Issue History

Date Modified Username Field Change
2016-08-11 12:02 Mazi New Issue
2016-08-12 09:24 c_schmitz Priority none => normal
2016-08-24 12:03 markusfluer Note Added: 40428
2016-08-24 12:07 markusfluer Status new => resolved
2016-08-24 12:07 markusfluer Fixed in Version => 2.5
2016-08-24 12:07 markusfluer Resolution open => fixed
2016-08-24 12:07 markusfluer Assigned To => markusfluer
2016-08-24 12:09 markusfluer Changeset attached => LimeSurvey master 905c976c
2016-08-24 12:09 markusfluer Note Added: 40431
2016-08-29 12:39 c_schmitz Note Added: 40549
2016-08-29 12:39 c_schmitz Status resolved => closed
2019-11-01 17:25 c_schmitz Category Survey design => Survey editing