View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
15407Bug reportsSurvey editingpublic2022-06-09 22:48
ReporterMazi Assigned Togabrieljenik  
PrioritynormalSeverityminor 
Status closedResolutionsuspended 
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.
Attached Files
Bug heat6
Complete LimeSurvey version number (& build)Version 5.3.17
I will donate to the project if issue is resolvedNo
Browser
Database type & versionMySQL 5
Server OS (if known)
Webserver software & version (if known)
PHP Version7.3.5

Users monitoring this issue

There are no users monitoring this issue.

Activities

cdorin

cdorin

2020-02-22 21:57

reporter   ~56156

Hey Mazi,

Do you still have the issue in the latest release?

Mazi

Mazi

2020-02-24 09:47

updater   ~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)   
cdorin

cdorin

2020-12-28 18:23

reporter   ~61249

To be tested after the inheritance issues from my account - profile are fixed in 4.4.0 RC1

gabrieljenik

gabrieljenik

2022-06-08 23:56

manager   ~70302

Couldn't reproduce it with SQ.
Still I could with Answer Options!

gabrieljenik

gabrieljenik

2022-06-08 23:59

manager   ~70303

Actually, not this is not reproducible.
The personal setting is used when creating the first Answer Option.
Then the quick add or regular add just dentifies the pattern and follows it.

gabrieljenik

gabrieljenik

2022-06-08 23:59

manager   ~70304

Hello Mazi,
I checked this with the latest version and could not reproduce, so this is most likely fixed for good.
Therefore, I am closing this issue. If you still can reproduce the issue using the latest version, please feel free to re-open the issue.
Thank you!

gabrieljenik

Mazi

Mazi

2022-06-09 09:43

updater   ~70309

@gabrieljenik, did you test by leaving the field "non numeric answer code" at the personal settings blank (see screenshot)?

gabrieljenik

gabrieljenik

2022-06-09 22:46

manager   ~70331

image-3.png (4,169 bytes)   
image-3.png (4,169 bytes)   
image-4.png (20,457 bytes)   
image-4.png (20,457 bytes)   
image-5.png (17,843 bytes)   
image-5.png (17,843 bytes)   
Mazi

Mazi

2022-06-09 22:48

updater   ~70333

Looks promising :-)

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
2020-12-28 18:23 cdorin Priority none => normal
2020-12-28 18:23 cdorin Status assigned => acknowledged
2020-12-28 18:23 cdorin Note Added: 61249
2020-12-28 18:23 cdorin Assigned To cdorin =>
2022-06-08 23:56 gabrieljenik Note Added: 70302
2022-06-08 23:56 gabrieljenik Bug heat 4 => 6
2022-06-08 23:57 gabrieljenik Status acknowledged => confirmed
2022-06-08 23:57 gabrieljenik Complete LimeSurvey version number (& build) Version 4.0.0-RC5+191014 => Version 5.3.17
2022-06-08 23:59 gabrieljenik Note Added: 70303
2022-06-08 23:59 gabrieljenik Assigned To => gabrieljenik
2022-06-08 23:59 gabrieljenik Status confirmed => closed
2022-06-08 23:59 gabrieljenik Resolution open => suspended
2022-06-08 23:59 gabrieljenik Note Added: 70304
2022-06-09 09:43 Mazi Note Added: 70309
2022-06-09 22:46 gabrieljenik Note Added: 70331
2022-06-09 22:46 gabrieljenik File Added: image-3.png
2022-06-09 22:46 gabrieljenik File Added: image-4.png
2022-06-09 22:46 gabrieljenik File Added: image-5.png
2022-06-09 22:48 Mazi Note Added: 70333