View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
17635Bug reportsSurvey editingpublic2021-11-02 09:06
Reporterjweberhofer Assigned Toc_schmitz  
PrioritynoneSeverityminor 
Status closedResolutionfixed 
Product Version5.x 
Summary17635: In a "de-informal" survey loading a label-set into a "List"-type question results in error
DescriptionI can load a label-set, but the click on the "add" button results in a message "Internal error: lang must have exactly two characters, but is de-informal"
Steps To ReproduceSteps to reproduce
------------------------------
* Edit a List-question
* Click on "Load label-set"
* Select a label set
* Click on add

Expected result
-------------------------
Answer lines should be added

Actual result
-----------------
Error message "Internal error: lang must have exactly two characters, but is de-informal" appears

TagsNo tags attached.
Bug heat6
Complete LimeSurvey version number (& build)5.1.14+210927
I will donate to the project if issue is resolvedNo
Browser
Database type & versionmariadb
Server OS (if known)
Webserver software & version (if known)
PHP Version7.4

Users monitoring this issue

User List There are no users monitoring this issue.

Activities

ollehar

ollehar

2021-09-29 17:25

administrator   ~66655

Can you test to remove the lines marked here, please: https://github.com/LimeSurvey/LimeSurvey/blob/master/assets/scripts/admin/questionEditor.js#L772-L775

Then clear your browser cache, reload and try again. Thank you.
jweberhofer

jweberhofer

2021-10-12 15:07

reporter   ~66835

Sorry for the late response. This change fixes the problem.
c_schmitz

c_schmitz

2021-10-22 10:27

administrator   ~66903

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

Related Changesets

LimeSurvey: master 97c582cd

2021-10-22 09:55:55

c_schmitz

Details Diff
Fixed issue 17635: In a "de-informal" survey loading a label set as answers into a "List"-type question results in error Affected Issues
17635
mod - assets/scripts/admin/questionEditor.js Diff File

Issue History

Date Modified Username Field Change
2021-09-29 17:08 jweberhofer New Issue
2021-09-29 17:22 ollehar Assigned To => ollehar
2021-09-29 17:22 ollehar Status new => assigned
2021-09-29 17:25 ollehar Note Added: 66655
2021-09-29 17:25 ollehar Bug heat 0 => 2
2021-09-29 17:25 ollehar Status assigned => feedback
2021-10-12 15:07 jweberhofer Note Added: 66835
2021-10-12 15:07 jweberhofer Bug heat 2 => 4
2021-10-12 15:07 jweberhofer Status feedback => assigned
2021-10-22 09:53 c_schmitz Status assigned => resolved
2021-10-22 09:53 c_schmitz Resolution open => fixed
2021-10-22 10:27 c_schmitz Changeset attached => LimeSurvey master 97c582cd
2021-10-22 10:27 c_schmitz Note Added: 66903
2021-10-22 10:27 c_schmitz Bug heat 4 => 6
2021-10-22 10:27 c_schmitz Assigned To ollehar => c_schmitz
2021-11-02 09:06 c_schmitz Status resolved => closed