View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
13779Bug reportsLabel setspublic2021-11-01 11:35
Reporterrbaier Assigned Togalads  
PrioritynormalSeveritypartial_block 
Status confirmedResolutionopen 
Product Version3.9.x 
Summary13779: When subquestions are saved as label set, only the first 5 characters of the "Codes" are saved which may lead to duplicate Codes
Description

The "Codes" one can enter with subquestions may have up to 20 characters each. But when subquestions are saved as a "Label Set" then only the first 5 characters of the "Codes" are saved in the label set. This may lead to corrupt label sets with duplicate Codes.
In the label set editor the Code length is limited to 5 characters making it difficult to correct duplicate Codes.
The issue can be found in LimeSurvey 3.x and 2.x.

TagsNo tags attached.
Bug heat6
Complete LimeSurvey version number (& build)Version 3.9.0+180604
I will donate to the project if issue is resolvedNo
Browser
Database type & versionMySQL 5.5.59-0ubuntu0.14.04.1-log
Server OS (if known)Ubuntu
Webserver software & version (if known)Apache/2.4.23 (Linux/SUSE)
PHP VersionPHP/7.0.7

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2018-06-15 15:17

administrator   ~48161

The code length in a label set should be extended - but when trying copy a label set to answer options and the labels are too long there should be an according warning and automatic renaming.

ollehar

ollehar

2021-03-10 16:52

administrator   ~63025

You're using an outdated version of LimeSurvey. Please update to the latest version and check if the bug can still be reproduced. Thank you.

rbaier

rbaier

2021-03-10 17:54

reporter   ~63120

The problem still exists in Version 3.25.17+210309 .
In the label set editor, the "Code" is limited to 5 characters, as is the case with the "Answer options". However, in the "Subquestions" the "Code" can be up to 20 characters long.
When subquestions with long "Codes" are saved as a label set, only the first 5 characters of the "Codes" will be saved.

Issue History

Date Modified Username Field Change
2018-06-14 13:53 rbaier New Issue
2018-06-15 15:17 c_schmitz Note Added: 48161
2018-06-15 15:17 c_schmitz Priority none => normal
2018-06-18 12:46 LouisGac Assigned To => dominikvitt
2018-06-18 12:46 LouisGac Status new => assigned
2018-08-28 11:55 LouisGac Priority normal => low
2018-08-28 11:55 LouisGac Assigned To dominikvitt => LouisGac
2021-03-10 16:52 ollehar Status assigned => feedback
2021-03-10 16:52 ollehar Note Added: 63025
2021-03-10 17:54 rbaier Note Added: 63120
2021-03-10 17:54 rbaier Status feedback => assigned
2021-03-10 17:57 ollehar Assigned To LouisGac =>
2021-03-10 17:57 ollehar Priority low => high
2021-03-10 17:57 ollehar Status assigned => new
2021-03-22 18:40 c_schmitz Priority high => normal
2021-11-01 11:35 galads Assigned To => galads
2021-11-01 11:35 galads Status new => confirmed