View Issue Details

This issue affects 1 person(s).
 8
IDProjectCategoryView StatusLast Update
06563Bug reportsSurvey takingpublic2012-09-21 11:25
Reportermas_carpone Assigned Toc_schmitz  
PrioritynormalSeveritypartial_block 
Status closedResolutionunable to reproduce 
Product Version1.92+ 
Summary06563: Mandatory multiple numerical field questdon't accept "0" as a value once (and only once) survey is activated
Description

I have mandatory questions with multiple numerical field values in my questionnaire.

They work fine when I test them, but as soon as I publish the survey, "0" are no longer recognized. In practice, when I try to move to next question groups, fields with "0" empty, and I get a message that some mandatory questions have not been answered

Additional Information

The survey was designed under 1.90+ Build 9642 and exported from there under 1.90+ Build 9642 as well as 1.92+ Build 120822.

Problem described above applies to the survey published under 1.90+ Build 9642.
When publish under 1.92+ Build 120822, I receive an error message right at the end of the first group of questions telling me some mandatory questions have not been filled (when it is not the case), and I remain stuck there.

To note finally, on either versions, when I export the results, the order of the questions is totally random.

TagsNo tags attached.
Attached Files
Bug heat8
Complete LimeSurvey version number (& build)120822
I will donate to the project if issue is resolvedNo
Browser
Database type & version?
Server OS (if known)Windows7
Webserver software & version (if known)?
PHP Version?

Users monitoring this issue

DenisChenu

Activities

TMSWhite

TMSWhite

2012-09-18 23:31

reporter   ~20722

I can't reproduce the problem. See limesurvey_survey_47942.lss which only contains one question.

Yes, if you enter 0 for some questions and leave at least one blank, then when the question is re-displayed, it shows each of the rows containing a 0 in red implying that they were not answered. However, if you answer all of the questions with something, the question will submit.

mas_carpone

mas_carpone

2012-09-19 10:53

reporter   ~20727

Last edited: 2012-09-19 10:55

Strange. The problem I have encountered happens with all subquestions answered. When I submit, only subquestions with "0" as an answer reappear empty and red.

I have also uploaded a copy of the same file, where all quesion codes were renamed followign a suggestion from colleagues on the French Forum that the codes (very cumbersom indeed :) ) that I had initially used, may have caused problems.

But I encountered the same problems with this file.

Also note that when displaying the results, questions show in a random (?) order, whereas in the design window, question groups and question show in the right order...

mas_carpone

mas_carpone

2012-09-19 12:01

reporter   ~20728

Update:

Following advice again from my french speaking fellows and more particularly Denis, I have created a new survey in which I have progressively imported and tested (including in active mode) all the Question Groups from the original (bugged) survey.

Things worked perfectly fine in that my multiple numerical field questions did take "0" as answers, AND my result table gave the question/answers in the right order!!! That was just before I realized I had also previously made those particular questions non-mandatory...

Re-edited them to mandatory and... "0" are again not recognized and results display questions in a random/crazy order...

At least we know exactly where the issue comes from right? :)

DenisChenu

DenisChenu

2012-09-19 15:49

developer   ~20730

Hello mas_carpone,

Can you tell us the group title and the name of this question ? Maybe a "code" of answer or subquestion incompatibility with EM.

Denis

mas_carpone

mas_carpone

2012-09-20 09:23

reporter   ~20732

Yes sure.

in Cluster_Description_180912: Group 4 Cluster Partners - questions 4.1 and 4.3
in Cluster_Description_QCodes: Group 4. Cluster Partners - questions Q4_1 and Q4_3

Thanks!

mas_carpone

mas_carpone

2012-09-20 09:50

reporter   ~20733

Problem seems to be SOLVED under Version 1.92+ Build 120822.

I have created a new survey under 1.92+ Build 120822 and have imported all question groups that I had previously exported from the older version.
I have then set questions 4.1 and 4.3 as mandatory and everything ran smootlhy. Answers are also in the right order in the DB...

Not sure whether this is satisfactory - but from my side at least, problem solved...

DenisChenu

DenisChenu

2012-09-20 09:50

developer   ~20734

Last edited: 2012-09-20 09:51

Very strange ...

I update the answer code (A1,A2 ..)

but again : group order is bad in the selector, good in the the 'group order' function, but i can't reorder in this function.

Very strange think

And all Survey LOgic File is breaked (question not in good group etc ..)

DenisChenu

DenisChenu

2012-09-20 09:56

developer   ~20735

Found it in phpmyadmin : all group_order column are set to 0 on lime_groups, update this olumn (put 0,1,2,3 ....) seems OK.

But why ? (before updating group_order column, i remove the 1. , 2. etc on the group title

Don't know

Issue History

Date Modified Username Field Change
2012-09-18 12:22 mas_carpone New Issue
2012-09-18 12:22 mas_carpone File Added: Cluster_Description_180912.lss
2012-09-18 12:22 mas_carpone Issue Monitored: mas_carpone
2012-09-18 12:22 mas_carpone Issue End Monitor: mas_carpone
2012-09-18 23:28 TMSWhite File Added: limesurvey_survey_47942.lss
2012-09-18 23:31 TMSWhite Note Added: 20722
2012-09-18 23:31 TMSWhite Status new => feedback
2012-09-19 10:53 mas_carpone Note Added: 20727
2012-09-19 10:53 mas_carpone Status feedback => new
2012-09-19 10:53 mas_carpone File Added: Cluster_Description_QCodes.lss
2012-09-19 10:55 mas_carpone Note Edited: 20727
2012-09-19 12:01 mas_carpone Note Added: 20728
2012-09-19 15:49 DenisChenu Note Added: 20730
2012-09-19 15:49 DenisChenu Issue Monitored: DenisChenu
2012-09-20 09:23 mas_carpone Note Added: 20732
2012-09-20 09:50 mas_carpone Note Added: 20733
2012-09-20 09:50 DenisChenu Note Added: 20734
2012-09-20 09:51 DenisChenu Note Edited: 20734
2012-09-20 09:56 DenisChenu Note Added: 20735
2012-09-21 11:25 c_schmitz Status new => closed
2012-09-21 11:25 c_schmitz Assigned To => c_schmitz
2012-09-21 11:25 c_schmitz Resolution open => unable to reproduce