View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
07185Bug reportsSurvey editingpublic2013-01-23 16:29
ReporterpfpDave Assigned Toc_schmitz  
PrioritynormalSeverityminor 
Status closedResolutionunable to reproduce 
Product Version2.00+ 
Summary07185: Adding a large number of answer options to a drop down list won't work with no error
Description

I'm trying to add 386 answer options to a drop down list (Job Titles). Clicking Quick Add amd Replace shows the titles listed, I can save as a label set and this works but when I click save, it tells me it's saved the options against the question (Answer options were successfully saved.) but removes them all and leaves only the 'Some example answer option' entry.

Replicated in FireFox 18

TagsNo tags attached.
Attached Files
Bug heat4
Complete LimeSurvey version number (& build)130108
I will donate to the project if issue is resolvedNo
BrowserIE8
Database type & versionSQL Express 2012
Server OS (if known)Server 2008
Webserver software & version (if known)IIS 7
PHP Version5.4.8

Users monitoring this issue

There are no users monitoring this issue.

Activities

pfpDave

pfpDave

2013-01-14 14:04

reporter   ~23641

Additionally, I wrote this script to work around the issue (pull from saved label set), and then edited through the UI, clicking save removed all options and left the 'some example answer option':

INSERT INTO answers (qid, code, answer, sortorder, assessment_value,language, scale_id)
SELECT 433, code, title, sortorder,assessment_value, language, 0 from labels where
lid = 41;

c_schmitz

c_schmitz

2013-01-14 16:06

administrator   ~23645

Can you attach the labelset please?

pfpDave

pfpDave

2013-01-18 16:40

reporter   ~23704

Attached as requested, sorry for the delay

c_schmitz

c_schmitz

2013-01-22 13:13

administrator   ~23741

This works fine here. I think it is a server misconfiguration that limits the maximum number of POST fields that can be posted in one go.

See max_input_vars on PHP.

pfpDave

pfpDave

2013-01-23 13:16

reporter   ~23777

This (max_input_vars) is set to 1000 on my server, what value should it be?

c_schmitz

c_schmitz

2013-01-23 13:38

administrator   ~23778

Depends how big your label sets get. Double it, save, restart the webserver, then try again.

Issue History

Date Modified Username Field Change
2013-01-14 13:58 pfpDave New Issue
2013-01-14 14:04 pfpDave Note Added: 23641
2013-01-14 16:06 c_schmitz Note Added: 23645
2013-01-14 16:06 c_schmitz Assigned To => c_schmitz
2013-01-14 16:06 c_schmitz Status new => feedback
2013-01-18 16:40 pfpDave File Added: limesurvey_labelset_41.lsl
2013-01-18 16:40 pfpDave Note Added: 23704
2013-01-18 16:40 pfpDave Status feedback => assigned
2013-01-22 13:13 c_schmitz Note Added: 23741
2013-01-22 13:13 c_schmitz Status assigned => closed
2013-01-22 13:13 c_schmitz Resolution open => unable to reproduce
2013-01-23 13:16 pfpDave Note Added: 23777
2013-01-23 13:16 pfpDave Status closed => feedback
2013-01-23 13:16 pfpDave Resolution unable to reproduce => reopened
2013-01-23 13:38 c_schmitz Note Added: 23778
2013-01-23 16:29 c_schmitz Status feedback => closed
2013-01-23 16:29 c_schmitz Resolution reopened => unable to reproduce
2019-11-01 17:25 c_schmitz Category Survey design => Survey editing