View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
06584Bug reportsConditionspublic2012-09-26 09:47
Reportermobug Assigned Toc_schmitz  
PriorityurgentSeveritycrash 
Status closedResolutionfixed 
Product Version2.00+ 
Fixed in Version2.00+ 
Summary06584: Quotas are not triggered on 2.0RC9
Description

The quotas I have defined are not triggered in version 2. The same survey works in version 1.92+.
Even the sample survey of quotas doesn't work!

Steps To Reproduce

Setup Quotas.
Run the survey.
Quotas are never triggered

TagsNo tags attached.
Attached Files
quotas.jpg (25,750 bytes)   
quotas.jpg (25,750 bytes)   
Bug heat4
Complete LimeSurvey version number (& build)120920
I will donate to the project if issue is resolvedNo
BrowserChrome and Firefox
Database type & versiondon't kno
Server OS (if known)Suse
Webserver software & version (if known)don't know
PHP Versiondon't know

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2012-09-24 14:52

administrator   ~20785

Please attach a simple two-question survey to demonstrate the issue. Thank you!

c_schmitz

c_schmitz

2012-09-24 15:10

administrator   ~20787

Please attach as .lss file. Thank you.

mobug

mobug

2012-09-24 15:14

reporter   ~20788

Exported survey attached.

c_schmitz

c_schmitz

2012-09-25 17:19

administrator   ~20801

The survey on the link you gave is not active and will not enforce quotas.

Please not that quotas are only checked vs. completed answers. So if you asnwered 'No' and 'Female', that 'No' reponse will not be counted towards the first quota because the participant was screened out.
This works just fine here, just the screen out looked a little strange (no CSS styles) which I fixed.

c_schmitz

c_schmitz

2012-09-25 17:21

administrator   ~20802

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

mobug

mobug

2012-09-25 18:23

reporter   ~20803

With "quotas are only checked vs. completed answers" you mean, they are checked after clicking the "next" button? Otherwise it would not make much sense to force already disqualified participants to fill out the rest of the survey.
But when I setup my quote to terminate and display a warning message, I expect to show that message after meeting the criteria. That would be the case for the 3rd "no" answer and for each woman. As you can see on my screenshot I have plenty of women and no answers in my summary. I thought they would not be counted and therefore not appear there. Do you have an explanation/solution?
I have reseted the survey (link see above). And changed both quotas to terminate and show warning message.

c_schmitz

c_schmitz

2012-09-26 08:09

administrator   ~20811

Sorry, I meant: completed responses (not completed answers).
THe screenshot is not meaningful because it's not clear if all responses are shown or only complete ones.

mobug

mobug

2012-09-26 08:52

reporter   ~20813

Maybe I don't understand how quotas work, could you please explain them here and on the documentation page.

  1. Are they checked after "next" button push already?
  2. Screenshot shows 5 surveys completed by women -> Quota = 0 women!
    --> Or are disqualified participants displayed anyway, but marked somehow?
  3. Fact is survey doesn't terminate with warning message after "no" quota is met.
c_schmitz

c_schmitz

2012-09-26 08:56

administrator   ~20814

The quotas are explained in the documentation very well so I will not repeat it here.

Your survey terminates just fine for me here so I am sorry but I cannot reproduce.

c_schmitz

c_schmitz

2012-09-26 09:47

administrator   ~20825

New 2.00+ version release. Please update manually (ComfortUpdate will be also available starting with that version for future updates)

Related Changesets

LimeSurvey: master 89386658

2012-09-25 10:21

c_schmitz


Details Diff
Fixed issue 06584: Quotas screen out uses the wrong template Affected Issues
06584
mod - application/controllers/admin/responses.php Diff File
mod - application/controllers/admin/surveyadmin.php Diff File
mod - application/core/LSYii_Controller.php Diff File
mod - application/helpers/expressions/em_manager_helper.php Diff File
mod - application/helpers/frontend_helper.php Diff File
mod - application/views/admin/responses/browseindex_view.php Diff File

Issue History

Date Modified Username Field Change
2012-09-24 13:45 mobug New Issue
2012-09-24 14:52 c_schmitz Note Added: 20785
2012-09-24 14:52 c_schmitz Assigned To => c_schmitz
2012-09-24 14:52 c_schmitz Status new => feedback
2012-09-24 15:00 mobug Status feedback => assigned
2012-09-24 15:10 c_schmitz Note Added: 20787
2012-09-24 15:13 mobug File Added: limesurvey_survey_532665.lss.lss
2012-09-24 15:14 mobug Note Added: 20788
2012-09-25 17:19 c_schmitz Note Added: 20801
2012-09-25 17:21 c_schmitz Changeset attached => LimeSurvey master 89386658
2012-09-25 17:21 c_schmitz Note Added: 20802
2012-09-25 17:21 c_schmitz Resolution open => fixed
2012-09-25 18:10 mobug File Added: quotas.jpg
2012-09-25 18:23 mobug Note Added: 20803
2012-09-26 08:09 c_schmitz Note Added: 20811
2012-09-26 08:10 c_schmitz Status assigned => resolved
2012-09-26 08:10 c_schmitz Fixed in Version => 2.00+
2012-09-26 08:52 mobug Note Added: 20813
2012-09-26 08:56 c_schmitz Note Added: 20814
2012-09-26 09:47 c_schmitz Note Added: 20825
2012-09-26 09:47 c_schmitz Status resolved => closed