View Issue Details

IDProjectCategoryView StatusLast Update
14506Bug reportsExpression Managerpublic2021-03-10 22:17
Reportergritschel Assigned To 
Status feedbackResolutionopen 
Product Version3.15.x 
Summary14506: relevance not respected for mandatory groups under certain circumstances
DescriptionUnder 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 InformationIn 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




2019-02-08 15:14




2021-03-10 22:17

administrator   ~63183

Please update to the latest version and check if the bug can still be reproduced. Thank you.

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
2019-11-26 17:43 cdorin Assigned To => cdorin
2019-11-26 17:43 cdorin Status new => assigned
2021-02-04 21:26 cdorin Assigned To cdorin =>
2021-02-04 21:26 cdorin Status assigned => acknowledged
2021-03-10 22:17 ollehar Status acknowledged => feedback
2021-03-10 22:17 ollehar Note Added: 63183