View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
09493Bug reportsSurvey takingpublic2015-05-20 11:11
Reporteruser14106Assigned ToDenisChenu  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version2.05+ 
Fixed in Version2.05+ 
Summary09493: Mandatory check fails with array filtered array (numbers) - with 10+ subquestions
Description

See attached survey.

There is an array (numbers, checkbox layout) that is filtered by a multi question on previous page. If you select only the first option in the filtering question, then you can bypass the filtered question without answering it (mandatory).

It seems to do that only if the options list is longer than 9 options. The example survey includes a second set with 9 options that works OK.

In this example case the problem only appears when choosing only the first option. I have another survey where this happens either option 1 or option 2, but I cannot replicate it for demoing.

I tested it also on the latest v1 version and seemed to have the same problem there.

Steps To Reproduce

open survey
select option 1
next page filters to you only option one
click next without answering.
You should not be able to go to next page due to mandatory question, but you can.

TagsNo tags attached.
Attached Files
Bug heat6
Complete LimeSurvey version number (& build)141229
I will donate to the project if issue is resolvedNo
Browserchrome
Database type & versionmysql
Server OS (if known)linux
Webserver software & version (if known)apache
PHP Version5.4 ?

Users monitoring this issue

DenisChenu

Activities

DenisChenu

DenisChenu

2015-05-12 14:50

developer   ~32185

Actual solution : replace code by A01,A02, A03 ...

Seems comparing by start of code, and not complet one.

Take it.

DenisChenu

DenisChenu

2015-05-12 15:29

developer   ~32188

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

DenisChenu

DenisChenu

2015-05-12 15:33

developer   ~32189

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

c_schmitz

c_schmitz

2015-05-20 11:11

administrator   ~32243

Version 2.05+ Build 150520 released.

Related Changesets

LimeSurvey: master 12aac92d

2015-05-12 13:29:21

DenisChenu

Details Diff
Fixed issue 09493: Mandatory check can fails with array filtered array (numbers)
Dev: test with _ to test the first part with complete subquestion code
Affected Issues
09493
mod - application/helpers/expressions/em_manager_helper.php Diff File

LimeSurvey: 2.06 22375008

2015-05-12 13:33:11

DenisChenu

Details Diff
Fixed issue 09493: Mandatory check can fails with array filtered array (numbers)
Dev: test with _ to test the first part with complete subquestion code
Affected Issues
09493
mod - application/helpers/expressions/em_manager_helper.php Diff File

Issue History

Date Modified Username Field Change
2015-02-04 12:35 user14106 New Issue
2015-02-04 12:35 user14106 File Added: limesurvey_survey_933886.lss
2015-02-04 14:27 c_schmitz Assigned To => c_schmitz
2015-02-04 14:27 c_schmitz Status new => assigned
2015-05-11 03:42 DenisChenu Issue Monitored: DenisChenu
2015-05-12 14:50 DenisChenu Note Added: 32185
2015-05-12 14:52 DenisChenu Assigned To c_schmitz => DenisChenu
2015-05-12 15:29 DenisChenu Changeset attached => LimeSurvey master 12aac92d
2015-05-12 15:29 DenisChenu Note Added: 32188
2015-05-12 15:29 DenisChenu Resolution open => fixed
2015-05-12 15:33 DenisChenu Changeset attached => LimeSurvey 2.06 22375008
2015-05-12 15:33 DenisChenu Note Added: 32189
2015-05-12 15:33 DenisChenu Status assigned => resolved
2015-05-12 15:33 DenisChenu Fixed in Version => 2.05+
2015-05-20 11:11 c_schmitz Note Added: 32243
2015-05-20 11:11 c_schmitz Status resolved => closed
2021-08-05 19:19 guest Bug heat 4 => 6