View Issue Details

IDProjectCategoryView StatusLast Update
06231Bug reportsConditionspublic2012-06-20 15:39
Reporteruser14785Assigned ToTMSWhite  
PriorityhighSeverityminor 
Status closedResolutionfixed 
Product Version1.92+ 
Fixed in Version1.92+ 
Summary06231: EM doesn't convert condition correctly, OR becomes AND
DescriptionThis issue seams refereable to 06139, but now it is OR condition interpreted as AND in relevance.
Steps To ReproduceCreate a Multiple Choice question Q1
Create a question Q2 and set conditions (form the condition editor) of this to be displayed only if at least one of the choice of Q1 is set.
The relevance operator is AND, but this should be as the condition operator OR
Additional Informationsetting relevance without condition editor works right
TagsNo tags attached.
Complete LimeSurvey version number (& build)120613
I will donate to the project if issue is resolvedNo
Browser
Database & DB-VersionMySQL
Server OS (if known)Linux
Webserver software & version (if known)LiteSpeed
PHP Version5.3

Relationships

related to 06186 closedTMSWhite Array Question Type: EM doesn't convert condition correctly, AND becomes OR 
related to 06188 closedc_schmitz error in conditions generated by editor when selecting several options per sub-question 

Activities

TMSWhite

TMSWhite

2012-06-18 13:37

reporter   ~19306

This issue was introduced via the solution to issue 06188.

So, sub-questions should be ANDed together, except for choices within Multiple Choice and Multiple Choice with Comments - type questions.

user14785

2012-06-18 14:07

  ~19309

Conditions behaviour is:
ORed together when adding Multiple_Choice == subquestion
ANDed together if Multiple_Choice_Subquestion is selected
TMSWhite

TMSWhite

2012-06-18 16:43

reporter   ~19317

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

TMSWhite

2012-06-18 16:47

reporter   ~19318

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

c_schmitz

2012-06-20 14:08

administrator   ~19389

New 1.92+ version released.

Related Changesets

LimeSurvey: master 45f97217

2012-06-18 07:43:20

TMSWhite

Details Diff
Fixed issue 06231: EM doesn't convert condition correctly, OR becomes AND Affected Issues
06231
mod - classes/expressions/LimeExpressionManager.php Diff File

LimeSurvey: Yii 31aa783f

2012-06-18 07:47:02

TMSWhite

Details Diff
Fixed issue 06231: EM doesn't convert condition correctly, OR becomes AND Affected Issues
06231
mod - application/helpers/expressions/em_manager_helper.php Diff File

Issue History

Date Modified Username Field Change
2012-06-18 11:54 user14785 New Issue
2012-06-18 13:37 TMSWhite Note Added: 19306
2012-06-18 13:37 TMSWhite Assigned To => TMSWhite
2012-06-18 13:37 TMSWhite Status new => assigned
2012-06-18 13:39 TMSWhite Relationship added related to 06188
2012-06-18 14:07 user14785 Note Added: 19309
2012-06-18 15:17 TMSWhite Relationship added related to 06186
2012-06-18 16:43 TMSWhite Changeset attached => LimeSurvey master 45f97217
2012-06-18 16:43 TMSWhite Note Added: 19317
2012-06-18 16:43 TMSWhite Resolution open => fixed
2012-06-18 16:47 TMSWhite Changeset attached => LimeSurvey Yii 31aa783f
2012-06-18 16:47 TMSWhite Note Added: 19318
2012-06-18 16:47 TMSWhite Status assigned => resolved
2012-06-18 16:47 TMSWhite Fixed in Version => 1.92+
2012-06-20 14:08 c_schmitz Note Added: 19389
2012-06-20 14:08 c_schmitz Status resolved => closed