View Issue Details

This bug affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
05941Bug reportsAssessmentspublic2012-03-23 13:03
Reportermrjosher Assigned Toc_schmitz  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version1.92+ 
Fixed in Version1.92+ 
Summary05941: Quotas fail to terminate survey
Description

Hello LimeSurvey Community,

I am reaching out to everyone in the LS family to see if anyone can help me find a solution for my quouta problem. I am trying to make a survey that terminates if the respondent answers "yes" to a question. In question by question mode ideally should terminate the survey, not after completing the entire survey. Ideally, it would be nice to have two quotas set to "0" within the same survey because we are looking for a particular type of respondent. I have looked through many of the LimeSurvey forums posts/documentation to make sure I am setting the quotas correctly.

I am a big fan and advocate for LimeSurvey, and I hope together we can find a solution to fix the problem quickly. Thank you ~ MrJosher

Steps To Reproduce
  • Method 1 -
    1) Create new survey
    1.1) Set to question-by-question mode
    2) Create two questions with first question being a yes/no question-type
    3) Set quota to '0' for question-1 if Yes is answered
    3.1) add short message stating 'sorry you should have answered No'
    4) Take survey and answer 'Yes' to first question.

  • Method 2 -
    1) Import LimeSurvey sample Survey - Quotas
    2) Modify quotas for first question to 0
    3) Submit first question with answer to terminate survey

Additional Information

Tested on two different servers with different OSs as well as demo.limesurvey.com.
Tested with 1.92 and 1.92+ on different servers.
On demo using imported sample + modified quota to "0" for first question:
http://demo.limesurvey.org/index.php?sid=72345&lang=en

TagsNo tags attached.
Bug heat2
Complete LimeSurvey version number (& build)1.92
I will donate to the project if issue is resolvedYes
BrowserChrome18.0.1025, Chrome 17.0.963.79, Firefox 11,
Database type & version155
Server OS (if known)CentOS and Ubuntu 10.04
Webserver software & version (if known)Apache/2.2.14
PHP Version5.3.2-1ubuntu4.11 with Suhosin-Patch

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2012-03-21 23:28

administrator   ~18030

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

c_schmitz

c_schmitz

2012-03-21 23:31

administrator   ~18031

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

c_schmitz

c_schmitz

2012-03-23 13:03

administrator   ~18060

1.92+ update released.

Related Changesets

LimeSurvey: master 8f1b6ea7

2012-03-21 16:28

c_schmitz


Details Diff
Fixed issue 05941: Quotas fail to terminate survey Affected Issues
05941
mod - classes/expressions/LimeExpressionManager.php Diff File

LimeSurvey: Yii 0a8b0d2d

2012-03-21 16:31

c_schmitz


Details Diff
Fixed issue 05941: Quotas fail to terminate survey Affected Issues
05941
mod - application/helpers/expressions/em_manager_helper.php Diff File

Issue History

Date Modified Username Field Change
2012-03-21 20:57 mrjosher New Issue
2012-03-21 23:28 c_schmitz Changeset attached => LimeSurvey master 8f1b6ea7
2012-03-21 23:28 c_schmitz Note Added: 18030
2012-03-21 23:28 c_schmitz Assigned To => c_schmitz
2012-03-21 23:28 c_schmitz Resolution open => fixed
2012-03-21 23:28 c_schmitz Assigned To c_schmitz =>
2012-03-21 23:28 c_schmitz Assigned To => c_schmitz
2012-03-21 23:28 c_schmitz Status new => assigned
2012-03-21 23:28 c_schmitz Status assigned => resolved
2012-03-21 23:28 c_schmitz Fixed in Version => 1.92+
2012-03-21 23:31 c_schmitz Changeset attached => LimeSurvey Yii 0a8b0d2d
2012-03-21 23:31 c_schmitz Note Added: 18031
2012-03-23 13:03 c_schmitz Note Added: 18060
2012-03-23 13:03 c_schmitz Status resolved => closed