View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
11412 | Bug reports | Survey editing | public | 2016-06-21 18:34 | 2016-07-25 13:53 |
Reporter | itcontactvki | Assigned To | c_schmitz | ||
Priority | none | Severity | crash | ||
Status | closed | Resolution | fixed | ||
Product Version | 2.50.x | ||||
Fixed in Version | 2.50.x | ||||
Summary | 11412: When Using "Set Conditions" on a question using 2 scenarios and 2 conditions each, the final condition becomes OR OR OR | ||||
Description | I have two kind of people that take a survey, one of my organization and others. I want to distinguish between them using regular expression on the email of the user. After I want to show the sum of two previous answers, if any of the two is different from 0. So I use a question as an equation and I want to show it only if there is a match on the email and if at least one of the two previous answers is positive. I use "Set Conditions" on the question and two scenarios. | ||||
Steps To Reproduce | Select a "Set Conditions", create two scenarios with 2 conditions, it is merged all together: If in one of the scenario there is not the same check for email, it is correct: ############ I have the impression that is the double regexMatch that messes things up: if I add a check on the first name, to have two different type of matches, the problem is there too: ############ Even changing the lss file and importing back does not work. | ||||
Additional Information | I had a problem before with the Relevance Equation for a single condition and that was solved in the Comfort Update Version 2.50+ Build 160620, but this is still a problem. | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 6 | ||||
Complete LimeSurvey version number (& build) | Version 2.50+ Build 160620 | ||||
I will donate to the project if issue is resolved | Yes | ||||
Browser | Firefox | ||||
Database type & version | mariadb 5.5.44 | ||||
Server OS (if known) | Centos 7.2.1511 | ||||
Webserver software & version (if known) | Apache 2.4.6 | ||||
PHP Version | 5.4.6 | ||||
Quick and i think better solutiuon : make your condition with GUI There still an issue, but in fact Expression Manager system are really powerfull. |
|
Wunderbar! Deleting the conditions and inserting the correct expression directly as Relevance Equation seems to work: I need to test all combinations but this workaround surely it is progress. |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=19718 |
|
Version 2.50+ Build 160725 released |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2016-06-21 18:34 | itcontactvki | New Issue | |
2016-06-21 18:34 | itcontactvki | File Added: limesurvey_survey_926939.lss | |
2016-06-22 08:45 | DenisChenu | Note Added: 39784 | |
2016-06-22 09:21 | itcontactvki | Note Added: 39785 | |
2016-07-22 12:43 | c_schmitz | Relationship added | related to 09218 |
2016-07-22 14:19 | c_schmitz | Assigned To | => c_schmitz |
2016-07-22 14:19 | c_schmitz | Status | new => assigned |
2016-07-22 14:21 | c_schmitz | Changeset attached | => LimeSurvey master 0523d581 |
2016-07-22 14:21 | c_schmitz | Note Added: 40025 | |
2016-07-22 14:21 | c_schmitz | Resolution | open => fixed |
2016-07-22 14:21 | c_schmitz | Status | assigned => resolved |
2016-07-22 14:21 | c_schmitz | Fixed in Version | => 2.5 |
2016-07-25 13:53 | c_schmitz | Note Added: 40039 | |
2016-07-25 13:53 | c_schmitz | Status | resolved => closed |
2019-11-01 17:25 | c_schmitz | Category | Survey design => Survey editing |