View Issue Details

This bug affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
08693Bug reportsSurvey editingpublic2014-02-16 18:32
ReporterMazi Assigned Toc_schmitz  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version2.05+ 
Target Version2.05+Fixed in Version2.05+ 
Summary08693: When using non-numeric answer codes Limesurvey automatically adds invalid follow up codes
Description

When using answer codes like a, b, c and adding answer options later, Limesurvey does add code "d" or "c1" as next code but uses "c" again for the following option which is an invalid code (warning is shown correctly).

Maybe we can check for numeric previous code and if it is not a numeric code, we just add "...1" or "...<answer number". Referring to the above a, b, c code example the next auto added code could be "c1" or "c4".
By adding a numeric prefix ("1") or the number of the answer ("4") we have valid and unique codes.

Steps To Reproduce
  1. At e.g. a multiple short text question add options using answer codes a, b, c, ...
  2. When clicking the [+] icon to add the next option OR when using the quick add feature, Limesurvey assigns invalid duplicate answer codes.
TagsNo tags attached.
Attached Files
answer_codes.png (6,710 bytes)   
answer_codes.png (6,710 bytes)   
Bug heat2
Complete LimeSurvey version number (& build)140204
I will donate to the project if issue is resolvedNo
BrowserGoogle Chrome
Database type & versionMySQL 5
Server OS (if known)Linux
Webserver software & version (if known)Apache
PHP Version5.3

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2014-02-13 13:20

administrator   ~28712

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

c_schmitz

c_schmitz

2014-02-16 18:32

administrator   ~28779

2.05+ Build 140216 released

Related Changesets

LimeSurvey: master 2d7ee5d5

2014-02-13 12:20:57

c_schmitz

Details Diff
Fixed issue 08693: When using non-numeric answer codes Limesurvey automatically adds non-unique follow up codes Affected Issues
08693
mod - scripts/admin/admin_core.js Diff File
mod - scripts/admin/answers.js Diff File

Issue History

Date Modified Username Field Change
2014-02-10 10:29 Mazi New Issue
2014-02-10 10:29 Mazi Status new => assigned
2014-02-10 10:29 Mazi Assigned To => sammousa
2014-02-10 10:31 Mazi File Added: answer_codes.png
2014-02-13 10:39 c_schmitz Assigned To sammousa => c_schmitz
2014-02-13 13:20 c_schmitz Changeset attached => LimeSurvey master 2d7ee5d5
2014-02-13 13:20 c_schmitz Note Added: 28712
2014-02-13 13:20 c_schmitz Resolution open => fixed
2014-02-13 13:20 c_schmitz Status assigned => resolved
2014-02-13 13:20 c_schmitz Fixed in Version => 2.05+
2014-02-16 18:32 c_schmitz Note Added: 28779
2014-02-16 18:32 c_schmitz Status resolved => closed
2019-11-01 17:25 c_schmitz Category Survey design => Survey editing