View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
15849Bug reportsConditionspublic2020-03-19 09:11
Reportercl9261 Assigned ToDenisChenu  
PrioritynoneSeverityminor 
Status closedResolutionno change required 
Product Version4.1.1 
Summary15849: The conditions didn't work properly
Description

Dear team,

I created a question which can be shown only if specific options of two previous questions are selected. For example, Q1 and Q2 are single choice questions, Q3 is text display. Q3 can be shown only if "Q1 == 2 or Q2 == 1". Also there is a condition on Q2 which is "Q1 == 1". But when I set the condition of Q3 to "Q1 == 2 or Q2 == 1" and chose Q1 as 2, the Q3 didn't show.

Steps To Reproduce

Attached you can find the testing survey. You can choose Q1 as 2, so the expectation is that Q2 is hidden and Q3 is shown. But the result is Q2 and Q3 are hidden.

TagsNo tags attached.
Attached Files
Bug heat4
Complete LimeSurvey version number (& build)4.1.1
I will donate to the project if issue is resolvedNo
Browser
Database type & versionMYSQL 5.5
Server OS (if known)
Webserver software & version (if known)
PHP Version7.1

Relationships

related to 14818 new Feature requests Default suffix to NAOK not code 

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2020-02-11 17:53

developer   ~55877

Did you try using Q2.NAOK ?

cl9261

cl9261

2020-02-11 18:54

reporter   ~55879

Not yet...

cl9261

cl9261

2020-02-14 16:56

reporter   ~56025

Hello, could you please confirm if this is a bug or my condition is wrong? Thank you in advance!

DenisChenu

DenisChenu

2020-03-19 09:09

developer   ~56660

Q2 condition are Q1 == 1.

Then when you check Q1 == 2 or Q2 == 1 : NAOK system happen : one element are hidden : whole test return false

Use Q1 == 2 or Q2.NAOK == 1 and it's fixed.

There are a feature request about this.

DenisChenu

DenisChenu

2020-03-19 09:11

developer   ~56662

No change reuired : not an issue

Always use .NAOK

Issue History

Date Modified Username Field Change
2020-02-11 17:51 cl9261 New Issue
2020-02-11 17:51 cl9261 File Added: limesurvey_survey_457919.lss
2020-02-11 17:53 DenisChenu Note Added: 55877
2020-02-11 18:54 cl9261 Note Added: 55879
2020-02-14 16:56 cl9261 Note Added: 56025
2020-03-18 19:46 cdorin Assigned To => cdorin
2020-03-18 19:46 cdorin Status new => assigned
2020-03-19 09:09 DenisChenu File Added: limesurvey_survey_457919_fixed.lss
2020-03-19 09:09 DenisChenu Note Added: 56660
2020-03-19 09:09 DenisChenu Relationship added related to 14818
2020-03-19 09:11 DenisChenu Assigned To cdorin => DenisChenu
2020-03-19 09:11 DenisChenu Status assigned => closed
2020-03-19 09:11 DenisChenu Resolution open => no change required
2020-03-19 09:11 DenisChenu Note Added: 56662