View Issue Details

This bug affects 1 person(s).
 12
IDProjectCategoryView StatusLast Update
16576Bug reportsLabel setspublic2020-11-09 10:10
Reportermedhat Assigned Tocdorin  
PrioritynoneSeverityblock 
Status closedResolutionfixed 
Product Version4.3.5 
Summary16576: only part of the label set is imported
Description

I'm trying to upload a long label set in multiple languages with 200+ rows but I'm getting an error.
I tried with a single language and still getting the same error.

Steps To Reproduce
  • prepare a long label set with 155+ rows in excel
  • create a new label set
  • Click "Quick add"
  • Copy / Paste your labels
  • Click "Replace"
  • Click "Save changes"
    you will get an error message "Question could not be stored. Reloading page.".
TagsNo tags attached.
Attached Files
labelset error.jpg (187,113 bytes)
Bug heat12
Complete LimeSurvey version number (& build)4.3.5+200721
I will donate to the project if issue is resolvedNo
BrowserChrome
Database type & versionMS Sql Server 2016
Server OS (if known)Windows
Webserver software & version (if known)IIS
PHP Version7.2.1

Users monitoring this issue

medhat

Activities

user225042

2020-08-10 09:50

  ~59377

For us to be able to investigate this issue please attach the imported file here.
Thank you!

medhat

medhat

2020-08-13 11:11

reporter   ~59456

Here's an example of 200+ entries.
Just copy the values from the file and paste them in "Quick add" widnow in "Label set editor" page.

countries.txt (4,094 bytes)   
1;Afghanistan
2;Aland Islands
3;Albania
4;Algeria
5;American Samoa
6;Andorra
7;Angola
8;Anguilla
9;Antigua and Barbuda
10;Argentina
11;Armenia
12;Aruba
13;Australia
14;Austria
15;Azerbaijan
16;Bahamas
17;Bahrain
18;Bangladesh
19;Barbados
20;Belarus
21;Belgium
22;Belize
23;Benin
24;Bermuda
25;Bhutan
26;Bolivia
27;Bonaire, Sint Eustatius and Saba
28;Bosnia and Herzegovina
29;Botswana
30;Bouvet Island
31;Brazil
32;British Indian Ocean Territory
33;British Virgin Islands
34;Brunei Dar Salam
35;Bulgaria
36;Burkina Faso
37;Burundi
38;Cambodia
39;Cameroon
40;Canada
41;Cape Verde
42;Cayman Islands
43;Central African Republic
44;Chad
45;Channel Islands
46;Chile
47;China
48;Colombia
49;Comoros
50;Congo
51;Cook Islands
52;Costa Rica
53;Cote Divoire
54;Croatia
55;Cuba
56;Cyprus
57;Czech Republic
58;Democratic People's Republic of Korea (North Korea)
59;Democratic Republic of the Congo
60;Denmark
61;Djibouti
62;Dominica
63;Dominican Republic
64;East Timor
65;Ecuador
66;Egypt
67;El Salvador
68;Equatorial Guinea
69;Eritrea
70;Estonia
71;Ethiopia
72;Falkland Islands (Malvinas)
73;Faroe Islands
74;Fiji
75;Finland
76;France
77;French Guiana
78;French Polynesia
79;French Southern Territories
80;Gabon
81;Gambia
82;Georgia
83;Germany
84;Ghana
85;Gibraltar
86;Greece
87;Greenland
88;Grenada
89;Guadeloupe
90;Guam
91;Guatemala
92;Guinea
93;Guinea-Bissau
94;Guyana
95;Haiti
96;Heard Island and McDonald Islands
97;Holy See (Vatican)
98;Honduras
99;Hong Kong Special Administrative Region
100;Hungary
101;Iceland
102;India
103;Indonesia
104;Iraq
105;Ireland
106;Islamic Republic of Iran
107;Italy
108;Jamaica
109;Japan
110;Jordan
111;Kazakhstan
112;Kenya
113;Kiribati
114;Korea Republic (South Korea)
115;Kuwait
116;Kyrgyzstan
117;Laos People's Democratic Republic
118;Latvia
119;Lebanon
120;Lesotho
121;Liberia
122;Libya
123;Liechtenstein
124;Lithuania
125;Luxembourg
126;Macau
127;Madagascar
128;Malawi
129;Malaysia
130;Maldives
131;Mali
132;Malta
133;Man Island
134;Marshall Islands
135;Martinique
136;Mauritania
137;Mauritius
138;Mayotte
139;Mexico
140;Micronesia
141;Monaco
142;Mongolia
143;Montenegro
144;Montserrat
145;Morocco
146;Mozambique
147;Myanmar
148;Namibia
149;Nauru
150;Nepal
151;Netherlands
152;Netherlands Antilles
153;New Caledonia
154;New Zealand
155;Nicaragua
156;Niger
157;Nigeria
158;Niue
159;Norfolk Islands
160;Northern Mariana Islands
161;Norway
162;Oman
163;Pakistan
164;Palau
165;Panama
166;Papua New Guinea
167;Paraguay
168;Peru
169;Philippines
170;Pitcairn
171;Poland
172;Portugal
173;Puerto Rico
174;Qatar
175;Republic Moldova
176;Republic of Macedonia
177;Reunion
178;Romania
179;Russian Federal
180;Rwanda
181;Saint Barthélemy
182;Saint Helena
183;Saint Kitts and Nevis
184;Saint Lucia
185;Saint Martin (French Part)
186;Saint Pierre and Miquelon
187;Saint Vincent and the Grenadines
188;Samoa
189;San Marino
190;Sao Tomé and Principe
191;Saudi Arabia
192;Senegal
193;Serbia
194;Seychelles
195;Sierra Leone
196;Singapore
197;Sint Maarten (Dutch part)
198;Slovakia
199;Slovenia
200;Solomon Islands
201;Somalia
202;South Africa
203;South Georgia and the South Sandwich Islands
204;South Sudan
205;Spain
206;Sri Lanka
207;State of Palestine
208;Sudan
209;Suriname
210;Svalbard Islands
211;Swaziland
212;Sweden
213;Switzerland
214;Syrian Arab Republic
215;Taiwan
216;Tajikistan
217;Thailand
218;The Caribbean Region
219;Togo
220;Tokelau
221;Tonga
222;Trinidad and Tobago
223;Tunisia
224;Turkey
225;Turkmenistan
226;Turks and Caicos Islands
227;Tuvalu
228;Uganda
229;Ukraine
230;United Arab Emirates
231;United Kingdom (Uk) and Northern Ireland
232;United Republic of Tanzania
233;United States Minor Outlying Islands
234;United States of America(USA)
235;United States Virgin Islands
236;Uruguay
237;Uzbekistan
238;Vanuatu
239;Venezuela
240;Viet Nam
241;Wallis and Futuna
242;Yemen
243;Yugoslavia
244;Zambia
245;Zimbabwe
countries.txt (4,094 bytes)   

user225042

2020-08-24 12:09

  ~59586

Last edited: 2020-08-24 12:14

I was able to do the import successfully with the given file i didn't get any error message but few records were missing in the import. Can you confirm on this
Can you please update to the latest version and try once
Please refer the attachment for more details

16576_LabelSetImport.png (76,922 bytes)   
16576_LabelSetImport.png (76,922 bytes)   
medhat

medhat

2020-08-25 06:09

reporter   ~59601

I've already upgraded to latest Version: 4.3.11+200817

I tried again with the same file and got the same problem as in attachment "error1.jpg"

  • After the error, when I changed to another page and returned back to "Label set editor" page, I found that many records were missing, (about half of the file), and the records were not sorted as per the original file (as you can see in attachment "error2.jpg")
error 1.jpg (172,592 bytes)
error2.jpg (143,957 bytes)
medhat

medhat

2020-09-20 10:10

reporter   ~59888

BTW, I tried to increase max_input_vars to 2000 , but it didn't help.
Also, I tried to use "Quick Add" in question's answers but it didn't work as well.

cdorin

cdorin

2020-09-21 15:44

reporter   ~59909

Hey Medhat - we have reverted label sets to what we have in LS3. It will take slightly more time till it lands to master / LS4 CU.

medhat

medhat

2020-09-22 06:06

reporter   ~59915

Noted.
Thanks for you reply! :)

user194634

2020-11-06 09:02

  ~60578

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

lime_release_bot

lime_release_bot

2020-11-09 10:10

administrator   ~60591

Fixed in Release 4.3.26+201110

Related Changesets

LimeSurvey: master 8263c8c5

2020-11-02 18:12:47

user194634

Details Diff
Fixed issue 16576: Problems with the error message when a token is already used (inherit). Affected Issues
16576
mod - application/controllers/SurveyController.php Diff File

Issue History

Date Modified Username Field Change
2020-08-09 09:48 medhat New Issue
2020-08-09 09:48 medhat File Added: labelset error.jpg
2020-08-10 09:50 user225042 Note Added: 59377
2020-08-13 11:11 medhat Note Added: 59456
2020-08-13 11:11 medhat File Added: countries.txt
2020-08-17 05:56 medhat Issue Monitored: medhat
2020-08-24 12:09 user225042 Note Added: 59586
2020-08-24 12:09 user225042 File Added: 16576_LabelSetImport.png
2020-08-24 12:09 user225042 Status new => feedback
2020-08-24 12:09 user225042 Description Updated
2020-08-24 12:09 user225042 Steps to Reproduce Updated
2020-08-24 12:13 user225042 Note Edited: 59586
2020-08-24 12:14 user225042 Note Edited: 59586
2020-08-25 06:09 medhat Note Added: 59601
2020-08-25 06:09 medhat File Added: error 1.jpg
2020-08-25 06:09 medhat File Added: error2.jpg
2020-08-25 06:09 medhat Status feedback => new
2020-09-20 10:10 medhat Note Added: 59888
2020-09-21 15:44 cdorin Note Added: 59909
2020-09-22 06:06 medhat Note Added: 59915
2020-09-25 15:09 cdorin Assigned To => cdorin
2020-09-25 15:09 cdorin Status new => acknowledged
2020-11-06 09:02 user194634 Changeset attached => LimeSurvey master 8263c8c5
2020-11-06 09:02 user194634 Note Added: 60578
2020-11-09 10:10 lime_release_bot Note Added: 60591
2020-11-09 10:10 lime_release_bot Status acknowledged => closed
2020-11-09 10:10 lime_release_bot Resolution open => fixed
2021-08-03 12:08 guest Bug heat 10 => 12