View Issue Details

This bug affects 1 person(s).
 12
IDProjectCategoryView StatusLast Update
09188Bug reportsSurvey takingpublic2014-10-17 08:53
Reporteruser34961Assigned Toc_schmitz  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version2.05+ 
Fixed in Version2.05+ 
Summary09188: Array (Numbers) with Checkbox layout count validation not working once it has been "ok"
Description

I created a question with the advanced setting : logic : Minimum answers : 2 .

When I take the Survey,at this question ,if I select 2 out of 4 checkbox (as example) and then unselect all of them (or just one, but the amount selected will still not be >= 2)

I will be able to continue (which is not normal).

TagsNo tags attached.
Attached Files
Bug heat12
Complete LimeSurvey version number (& build)130611 , also tested on 2.05
I will donate to the project if issue is resolvedNo
BrowserFirefox , Chrome
Database type & versionOracle 12
Server OS (if known)unknown
Webserver software & version (if known)unknown
PHP Versionunknown

Relationships

has duplicate 09304 closedc_schmitz Matrix Question wrong results because of 0 

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2014-08-22 12:48

developer   ~30445

Array (Numbers) with Checkbox layout use 0 for 'unselected' checkbox.
This can be fixed with '' think it's OK.

DenisChenu

DenisChenu

2014-08-22 13:39

developer   ~30446

WorkAround :
Question validation equation : sum(self)>=2

c_schmitz

c_schmitz

2014-09-10 23:42

administrator   ~30539

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

c_schmitz

c_schmitz

2014-09-11 01:36

administrator   ~30550

2.05 Build 140911 released.

Related Changesets

LimeSurvey: master 2fde25c0

2014-09-10 21:42:18

c_schmitz

Details Diff
Fixed issue 09188: Array (Numbers) with Checkbox layout maximum/minimum answer validation not working if item was check and unchecked
Dev Unchecked items are now like empty input boxes - this will prevent sporadic 0's from showing in results
Affected Issues
09188
mod - application/helpers/qanda_helper.php Diff File

Issue History

Date Modified Username Field Change
2014-08-21 22:12 user34961 New Issue
2014-08-21 22:12 user34961 File Added: limesurvey_survey_579155 (2).lss
2014-08-22 12:47 DenisChenu Summary Checkbox count validation not working once it has been "ok" => Array (Numbers) with Checkbox layout count validation not working once it has been "ok"
2014-08-22 12:48 DenisChenu Note Added: 30445
2014-08-22 13:39 DenisChenu Note Added: 30446
2014-08-22 13:39 DenisChenu Priority urgent => normal
2014-08-22 13:39 DenisChenu Severity partial_block => minor
2014-08-22 15:15 user34961 Issue Monitored: user34961
2014-09-10 23:40 c_schmitz Assigned To => c_schmitz
2014-09-10 23:40 c_schmitz Status new => assigned
2014-09-10 23:42 c_schmitz Changeset attached => LimeSurvey master 2fde25c0
2014-09-10 23:42 c_schmitz Note Added: 30539
2014-09-10 23:42 c_schmitz Resolution open => fixed
2014-09-10 23:42 c_schmitz Status assigned => resolved
2014-09-10 23:42 c_schmitz Fixed in Version => 2.05+
2014-09-11 01:36 c_schmitz Note Added: 30550
2014-09-11 01:36 c_schmitz Status resolved => closed
2014-10-17 08:53 DenisChenu Relationship added has duplicate 09304