View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
17845 | Bug reports | Label sets | public | 2022-01-20 12:30 | 2023-05-20 00:34 |
Reporter | Mazi | Assigned To | gabrieljenik | ||
Priority | none | Severity | block | ||
Status | assigned | Resolution | open | ||
Product Version | 5.2.x | ||||
Summary | 17845: Label set preview only shows last item, other items are missing | ||||
Description | I have created a label set with 5 answer options. When previeiwing the label set, only the last option is shown. Same for editing a label set. If you have changed the label set title you see the options afterwards. Again, only the last item is shown. When exporting the label set I can see that all 5 answer options are still there. | ||||
Steps To Reproduce | Steps to reproduceImport the attached label set and click the preview button. Expected resultSee all answer options Actual resultOnly the last answer option is displayed. | ||||
Tags | No tags attached. | ||||
Attached Files | limesurvey_labelset_6.lsl (1,950 bytes)
<?xml version="1.0" encoding="UTF-8"?> <document> <LimeSurveyDocType>Label set</LimeSurveyDocType> <DBVersion>479</DBVersion> <labelsets> <fields> <fieldname>lid</fieldname> <fieldname>label_name</fieldname> <fieldname>languages</fieldname> </fields> <rows> <row> <lid><![CDATA[6]]></lid> <label_name><![CDATA[Wichtigkeit 1-5]]></label_name> <languages><![CDATA[de]]></languages> </row> </rows> </labelsets> <labels> <fields> <fieldname>id</fieldname> <fieldname>lid</fieldname> <fieldname>code</fieldname> <fieldname>sortorder</fieldname> <fieldname>assessment_value</fieldname> </fields> <rows> <row> <id><![CDATA[6]]></id> <lid><![CDATA[6]]></lid> <code><![CDATA[5]]></code> <sortorder><![CDATA[4]]></sortorder> <assessment_value><![CDATA[5]]></assessment_value> </row> </rows> </labels> <label_l10ns> <fields> <fieldname>id</fieldname> <fieldname>label_id</fieldname> <fieldname>title</fieldname> <fieldname>language</fieldname> </fields> <rows> <row> <id><![CDATA[26]]></id> <label_id><![CDATA[6]]></label_id> <title><![CDATA[Sehr wichtig]]></title> <language><![CDATA[de]]></language> </row> <row> <id><![CDATA[27]]></id> <label_id><![CDATA[6]]></label_id> <title><![CDATA[Eher wichtig]]></title> <language><![CDATA[de]]></language> </row> <row> <id><![CDATA[28]]></id> <label_id><![CDATA[6]]></label_id> <title><![CDATA[Teils/teils]]></title> <language><![CDATA[de]]></language> </row> <row> <id><![CDATA[29]]></id> <label_id><![CDATA[6]]></label_id> <title><![CDATA[Eher unwichtig]]></title> <language><![CDATA[de]]></language> </row> <row> <id><![CDATA[30]]></id> <label_id><![CDATA[6]]></label_id> <title><![CDATA[Sehr unwichtig]]></title> <language><![CDATA[de]]></language> </row> </rows> </label_l10ns> </document> | ||||
Bug heat | 6 | ||||
Complete LimeSurvey version number (& build) | Version 5.2.10+220118 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | Chrome | ||||
Database type & version | mysqlnd 8.0.14 | ||||
Server OS (if known) | Ubuntu 20 | ||||
Webserver software & version (if known) | Apache 2.0 | ||||
PHP Version | 8.0.14 | ||||
Related to other issues with label sets in question editor? |
|
@olehar: No idea!? Link? |
|
@ollehar: Could be related, but my issue affects a different screen (global label set management). |
|
Ah, OK. Is this a regression, or was it broken since LS 5.0? |
|
No idea... but it IS a bug. |
|
Yes, just easier for us to approach if we have some info. :) Ahmed is sick this week. |
|
These are the steps I did: I wasn't able to find a preview button close to the global label sets. I was not able to reproduce the issue. Maybe the bug is on the export process? I was trying to play around with that screen using multiple languages and got to some strange situations. But I think it needs more reviewal. |
|
What if we try to reproduce this after 18040 is done? |
|
Sounds like a plan, @gabrieljenik. |
|
Status? |
|
@ollehar, preview works fine but as @gabrieljenik has pointed out, the label set I had attached used the same ID for each option which is wrong. |
|
I will export, import, add items, looking for a regresion. |
|
Found this on the PR list: https://github.com/LimeSurvey/LimeSurvey/pull/2975 Still have to pick this up |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2022-01-20 12:30 | Mazi | New Issue | |
2022-01-20 12:30 | Mazi | File Added: limesurvey_labelset_6.lsl | |
2022-01-20 12:32 | ollehar | Note Added: 68060 | |
2022-01-20 12:32 | ollehar | Bug heat | 0 => 2 |
2022-01-20 14:27 | Mazi | Note Added: 68067 | |
2022-01-20 14:27 | Mazi | Bug heat | 2 => 4 |
2022-01-20 14:28 | ollehar | Note Added: 68068 | |
2022-01-20 14:32 | Mazi | Note Added: 68069 | |
2022-01-20 14:36 | ollehar | Note Added: 68070 | |
2022-01-20 14:37 | Mazi | Note Added: 68071 | |
2022-01-20 14:38 | ollehar | Note Added: 68072 | |
2022-01-24 10:28 | galads | Zoho Project Synchronization | => |Yes| |
2022-01-24 10:28 | galads | Assigned To | => galads |
2022-01-24 10:28 | galads | Status | new => confirmed |
2022-03-31 11:53 | galads | Assigned To | galads => gabrieljenik |
2022-03-31 11:53 | galads | Zoho Project Synchronization | Yes => |
2022-04-21 22:00 | gabrieljenik | Note Added: 69187 | |
2022-04-21 22:00 | gabrieljenik | File Added: image.png | |
2022-04-21 22:00 | gabrieljenik | Bug heat | 4 => 6 |
2022-04-21 22:02 | gabrieljenik | Note Added: 69188 | |
2022-04-21 22:04 | gabrieljenik | Relationship added | related to 18040 |
2022-04-22 11:50 | Mazi | Note Added: 69192 | |
2023-05-03 13:33 | ollehar | Note Added: 74775 | |
2023-05-03 13:33 | ollehar | Status | confirmed => feedback |
2023-05-03 13:41 | Mazi | Note Added: 74776 | |
2023-05-03 13:41 | Mazi | Status | feedback => assigned |
2023-05-03 14:35 | gabrieljenik | Note Added: 74779 | |
2023-05-20 00:34 | gabrieljenik | Note Added: 75124 |