View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
07301Bug reportsSurvey takingpublic2013-02-19 11:13
Reporterdavid2013 Assigned ToDenisChenu  
PrioritynormalSeveritypartial_block 
Status closedResolutionfixed 
Product Version2.00+ 
Fixed in Version2.00+ 
Summary07301: Quota increase even though it's not a complete case
Description

I believe quota should increase only for complete case. Incomplete cases (including quota full) should not increase the quota.
Currently,
1) when quota is full, the quota number still increase (for example, we have male quota with limit of 2 respondent. After 2 respondent, when people choose male, the quota number still increase after terminated by quota. I thought the quota number will not increase when quota is met.
2) When respondent meet the quota condition but didn't complete the survey (i.e. respondent closed the browser window), the quota number increase too.

Steps To Reproduce

Create a survey contains 3 questions: See .lsa attached
Q1: Welcome message.
Q2: Gender: male and female
Q3: Age

I have male and female quotas. After activated the survey, I choose male, then click next. And then I closed the browser window instead of click submit (quota condition met but not submit). Then I go to quota screen, the complete column for male is increased by 1. But this is not a complete case. The quota should not increase. Same thing happen for quota full, the survey terminated, but number of complete still increase.

TagsNo tags attached.
Attached Files
Bug heat4
Complete LimeSurvey version number (& build)130213
I will donate to the project if issue is resolvedNo
Browsergoogle chrome
Database type & versionMYSQL 5.5.27
Server OS (if known)Window 7
Webserver software & version (if known)EasyPHP with APACHE 2.4.2 MYSQL 5.5.27 PHP 5.4.6
PHP VersionPHP 5.4.6

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2013-02-15 10:09

developer   ~24091

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

DenisChenu

DenisChenu

2013-02-15 10:10

developer   ~24092

TO review for 2.1/Plugin

c_schmitz

c_schmitz

2013-02-19 11:13

administrator   ~24162

2.00 Build 130219 released

Related Changesets

LimeSurvey: master dd6b9f1e

2013-02-15 09:06:10

DenisChenu

Details Diff
Fixed issue 07301: Quota increase even though it's not a complete case Affected Issues
07301
mod - application/helpers/common_helper.php Diff File

Issue History

Date Modified Username Field Change
2013-02-14 16:37 david2013 New Issue
2013-02-14 16:37 david2013 File Added: survey_archive_295262 (1).zip
2013-02-14 21:02 david2013 Issue Monitored: david2013
2013-02-14 21:02 david2013 Issue End Monitor: david2013
2013-02-15 10:09 DenisChenu Changeset attached => LimeSurvey master dd6b9f1e
2013-02-15 10:09 DenisChenu Note Added: 24091
2013-02-15 10:09 DenisChenu Assigned To => DenisChenu
2013-02-15 10:09 DenisChenu Resolution open => fixed
2013-02-15 10:10 DenisChenu Note Added: 24092
2013-02-15 10:10 DenisChenu Status new => resolved
2013-02-15 10:10 DenisChenu Fixed in Version => 2.00+
2013-02-19 11:13 c_schmitz Note Added: 24162
2013-02-19 11:13 c_schmitz Status resolved => closed