View Issue Details

IDProjectCategoryView StatusLast Update
14506Bug reports[All Projects] Expression Managerpublic2019-02-08 15:14
ReportergritschelAssigned To 
PrioritynoneSeveritymajor 
Status newResolutionopen 
Product Version3.15.x 
Target VersionFixed in Version 
Summary14506: relevance not respected for mandatory groups under certain circumstances
Description

Under certain circumstances (detailed below), the relevance of a mandatory question group is not respected by LimeSurvey and the corresponding group is shown although it should not. The error disappears when the group is not mandatory. It seems that the relevance equation is evaluated at the wrong time.

Steps To Reproduce
  • start attached survey
  • in item where one can choose the relevant question groups check 'standard' and uncheck 'additional'
    (observe how the choice here is directly represented in the corresponding item values in the table)
  • click next
  • answer the standard question (note that the relevance variables in the table are still OK)
  • observe that the bonus question group is shown, although it should have relevance = 0
    (note also that the values in the table have changed)
Additional Information

In my surveys I use this (at first seemingly strange) contruction in order to allow the participant to chose which question groups he wants to answer.
The construction is as follows: For a certain combination of variables that are assessed earlier (1), I set a corresponding default combination of groups (2), which is presented to the participant as a multiple choice item (4). The default groups (2) are set via assignment in equation items (3) on the preceding page (because there is no way to fill in equations in the default item list of a multiple choice question). The user is then allowed to actively change the default groups and to check which groups he wants to answer. The data from this multiple choice item is later used directly as relevance of the corresponding question groups (5). If the group was ticked in the multiple choice item, it should be presented, i.e. be relevant.

(1) assess variables via different question items
(2) generate a default combination of question groups
(3) tick default groups in multiple choice item via assignment in equation item
(4) present the multiple choice item to the user, where he can change the choices
(5) set relevance of groups according to the choices in (4)

TagsNo tags attached.
Complete LimeSurvey version number (& build)3.15.6+190108
I will donate to the project if issue is resolvedNo
BrowserMozilla Firefox
Database & DB-Versionmysqlnd 5.0.11-dev - 20120503
Server OS (if known)Windows 7
Webserver software & version (if known)Apache/2.4.12
PHP Version5.6.8

Activities

gritschel

gritschel

2019-02-08 15:14

reporter  

limesurvey_survey_721288.lss (22,404 bytes)

Issue History

Date Modified Username Field Change
2019-02-08 15:14 gritschel New Issue
2019-02-08 15:14 gritschel File Added: limesurvey_survey_721288.lss