View Issue Details

This bug affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
05948Bug reportsSurvey takingpublic2012-04-04 04:27
Reporterrovinj Assigned ToTMSWhite  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version1.92+ 
Fixed in Version1.92+ 
Summary05948: Mandatory directive for question is ignored for array (numbers) using checkbox layout
Description

When using Array (Numbers) mandatory option for question is ignored and question can be skipped

Steps To Reproduce
  1. On first question check one or more options
  2. On second question respond NO
  3. On third question a only list of choosen options will be shown (used filter options)
  4. Click NEXT to pass skip the question (even is mandatory)
TagsNo tags attached.
Attached Files
Bug heat2
Complete LimeSurvey version number (& build)120323
I will donate to the project if issue is resolvedNo
Browser
Database type & versionMySQL 5.1
Server OS (if known)Centos 6
Webserver software & version (if known)Apache 2
PHP Version5.3.10

Users monitoring this issue

There are no users monitoring this issue.

Activities

TMSWhite

TMSWhite

2012-03-24 03:25

reporter   ~18073

This only applies to checkbox layout of Array (numbers) questions, since unchecked boxes have a value of 0 instead of blank (so they appear to be answered, and thus pass mandatory constraints).

TMSWhite

TMSWhite

2012-03-24 05:59

reporter   ~18074

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

TMSWhite

TMSWhite

2012-04-04 04:27

reporter   ~18186

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

Related Changesets

LimeSurvey: master 1ef189d7

2012-03-23 22:01:28

TMSWhite

Details Diff
Fixed issue 05948: Mandatory directive for question is ignored for array (numbers) using checkbox layout Affected Issues
05948
mod - classes/expressions/LimeExpressionManager.php Diff File
mod - qanda.php Diff File

LimeSurvey: Yii 3ed8d549

2012-04-03 19:25:38

TMSWhite

Details Diff
Fixed issue 05948: Mandatory directive for question is ignored for array (numbers) using checkbox layout Affected Issues
05948
mod - application/helpers/expressions/em_manager_helper.php Diff File
mod - application/helpers/qanda_helper.php Diff File

Issue History

Date Modified Username Field Change
2012-03-23 22:08 rovinj New Issue
2012-03-23 22:08 rovinj File Added: limesurvey_survey_96783.lss
2012-03-24 00:08 c_schmitz Assigned To => TMSWhite
2012-03-24 00:08 c_schmitz Status new => assigned
2012-03-24 03:25 TMSWhite Note Added: 18073
2012-03-24 03:25 TMSWhite Summary Mandatory directive for question is ignored => Mandatory directive for question is ignored for array (numbers) using checkbox layout
2012-03-24 05:59 TMSWhite Changeset attached => LimeSurvey master 1ef189d7
2012-03-24 05:59 TMSWhite Note Added: 18074
2012-03-24 05:59 TMSWhite Resolution open => fixed
2012-03-24 06:01 TMSWhite Status assigned => resolved
2012-03-24 06:01 TMSWhite Fixed in Version => 1.92+
2012-03-30 15:00 c_schmitz Status resolved => closed
2012-04-04 04:27 TMSWhite Changeset attached => LimeSurvey Yii 3ed8d549
2012-04-04 04:27 TMSWhite Note Added: 18186