View Issue Details

IDProjectCategoryView StatusLast Update
15407Bug reportsSurvey editingpublic2020-02-24 09:47
ReporterMazi Assigned Tocdorin  
PrioritynoneSeverityminor 
Status assignedResolutionopen 
Product Version4.0.0-RC4 
Summary15407: Using the "quick add" feature at LS 4 leads to answer codes "undefined00", "undefined01"
Description

At my personal settings I set "Non-Numerical answeroption prefix:" to be blank in order to not use any numeric prefix. when then using the quick-add feature for simply adding a list like this:
One
Two
Three
Four

I get "undefined00", "undefined01", ... as assigned answer codes which looks wrong.

  1. "undefined" should be replaced by an empty string.
  2. "00" as default first value should be 01 instead. Only nerds start counting at "0". The common Limesurvey user expects the first option to be numbered "01".
Steps To Reproduce

Change your setting for "Non-Numerical answeroption prefix:
Use quick-add for copy-pasting a simple list.

TagsNo tags attached.
Complete LimeSurvey version number (& build)Version 4.0.0-RC5+191014
I will donate to the project if issue is resolvedNo
Browser
Database & DB-VersionMySQL 5
Server OS (if known)
Webserver software & version (if known)
PHP Version7.3.5

Activities

cdorin

cdorin

2020-02-22 21:57

manager   ~56156

Hey Mazi,

Do you still have the issue in the latest release?

Mazi

Mazi

2020-02-24 09:47

partner   ~56160

@cdorin, the "undefined" error is gone but the assignment of answer codes is still wrong. See my screenshot for settings. For answer options, there should be no prefix. When then copying this list as answers to a single choice question:
One
Two
Three
Four

...the system uses prefix "SQ.." though for answer options NO prefix should be used according to the settings.

image.png (17,297 bytes)   
image.png (17,297 bytes)   
image-2.png (15,406 bytes)   
image-2.png (15,406 bytes)   

Issue History

Date Modified Username Field Change
2019-10-15 15:17 Mazi New Issue
2019-11-01 17:25 c_schmitz Category Survey design => Survey editing
2019-12-03 15:48 cdorin Assigned To => cdorin
2019-12-03 15:48 cdorin Status new => assigned
2020-02-22 21:57 cdorin Note Added: 56156
2020-02-24 09:47 Mazi File Added: image.png
2020-02-24 09:47 Mazi File Added: image-2.png
2020-02-24 09:47 Mazi Note Added: 56160