View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 04106 | Bug reports | Conditions | public | 2010-02-06 20:25 | 2010-02-18 11:54 |
| Reporter | leolime | Assigned To | lemeur | ||
| Priority | normal | Severity | minor | ||
| Status | closed | Resolution | won't fix | ||
| Product Version | 1.87+ | ||||
| Summary | 04106: Wrong conenction when selection is 'Not Equals' | ||||
| Description | When I select items these are connected with an OR. This applies good for multiple selections with e.g. Equals But the connection with OR is incorrect, when I select two items, like 'Not really' out of a variety of likes. When I wanna display the next question, only when 'Not really' resp. 'Dislike' is then an OR is always fullfilled. Cause e.g. 'Dislike' selected ==> 'Not really' is deselected ==> condition is true For 'Not Equals' the connection must be AND! | ||||
| Tags | No tags attached. | ||||
| Attached Files | limesurvey_sample_81995.csv (5,735 bytes)
# LimeSurvey Survey Dump
# DBVersion 142
# This is a dumped survey from the LimeSurvey Script
# http://www.limesurvey.org/
# Do not change this header!
#
# SURVEYS TABLE
#
"sid","owner_id","admin","active","expires","startdate","adminemail","private","faxto","format","template","language","additional_languages","datestamp","usecookie","notification","allowregister","allowsave","autonumber_start","autoredirect","allowprev","printanswers","ipaddr","refurl","datecreated","publicstatistics","publicgraphs","listpublic","htmlemail","tokenanswerspersistence","assessments","usecaptcha","usetokens","bounce_email","attributedescriptions","emailresponseto","tokenlength"
"81995","1","LeO NoWhere","N","","","leo_08_15@fantasymail.de","Y","","G","default","de-informal","","N","N","0","N","Y","0","N","Y","N","N","N","2010-02-07","N","N","N","Y","N","N","D","N","leo_08_15@fantasymail.de","","","15"
#
# GROUPS TABLE
#
"gid","sid","group_name","group_order","description","language"
"19","81995","Sample Group1","0","","de-informal"
#
# QUESTIONS TABLE
#
"qid","sid","gid","type","title","question","preg","help","other","mandatory","lid","lid1","question_order","language"
"52","81995","19","L","Like","How much do you like LimeSurvey?<br />","","","N","N","0","0","0","de-informal"
"53","81995","19","P","Option","What to change?<br />","","","Y","N","0","0","1","de-informal"
#
# ANSWERS TABLE
#
"qid","code","answer","default_value","assessment_value","sortorder","language"
"53","impr1","Better support","N","0","1","de-informal"
"53","impr2","quicker Bugfixing","N","0","2","de-informal"
"53","impr3","no fu**ing samples","N","0","3","de-informal"
"53","impr4","consistent GUI for reorder (Questions, Labels, Question Group)","N","0","4","de-informal"
"52","like1","Very much","N","0","1","de-informal"
"52","like2","much","N","0","2","de-informal"
"52","like3","acceptable","N","0","3","de-informal"
"52","like4","dislike","N","0","5","de-informal"
"52","like5","not really","N","0","4","de-informal"
#
# CONDITIONS TABLE
#
"cid","qid","scenario","cqid","cfieldname","method","value"
"41","53","1","52","81995X19X52","!=","like4"
"42","53","1","52","81995X19X52","!="," "
#
# LABELSETS TABLE
#
#
# LABELS TABLE
#
#
# QUESTION_ATTRIBUTES TABLE
#
"qaid","qid","attribute","value"
"556","52","display_columns","1"
"555","52","alphasort","0"
"563","52","public_statistics","0"
"562","52","page_break","0"
"561","52","other_replace_text",""
"560","52","other_numbers_only","0"
"559","52","other_comment_mandatory","0"
"558","52","hidden","0"
"557","52","hide_tip","0"
"564","52","random_order","0"
"565","52","scale_export","0"
"566","53","array_filter",""
"567","53","array_filter_exclude",""
"568","53","hide_tip","0"
"569","53","hidden","0"
"570","53","max_answers",""
"571","53","min_answers",""
"572","53","other_comment_mandatory","0"
"573","53","other_numbers_only","0"
"574","53","other_replace_text",""
"575","53","page_break","0"
"576","53","public_statistics","0"
"577","53","random_order","0"
"578","53","scale_export","0"
#
# ASSESSMENTS TABLE
#
#
# SURVEYS_LANGUAGESETTINGS TABLE
#
"surveyls_survey_id","surveyls_language","surveyls_title","surveyls_description","surveyls_welcometext","surveyls_endtext","surveyls_url","surveyls_urldescription","surveyls_email_invite_subj","surveyls_email_invite","surveyls_email_remind_subj","surveyls_email_remind","surveyls_email_register_subj","surveyls_email_register","surveyls_email_confirm_subj","surveyls_email_confirm","surveyls_dateformat"
"81995","de-informal","sample survey","","","<br />","","","Einladung zur Teilnahme an einer Umfrage","Hallo {FIRSTNAME},<br /><br />Hiermit möchten wir Dich zu einer Umfrage einladen.<br /><br />Der Titel der Umfrage ist <br />'{SURVEYNAME}'<br /><br />'{SURVEYDESCRIPTION}'nnUm an dieser Umfrage teilzunehmen, klicke bitte auf den unten stehenden Link.nn Mit freundlichen Grüßen,<br /><br />{ADMINNAME} ({ADMINEMAIL})<br /><br />----------------------------------------------<br />Klicken hier um die Umfrage zu starten:<br />{SURVEYURL}","Erinnerung an die Teilnahme an einer Umfrage","Hallo {FIRSTNAME},<br /><br />Vor kurzem haben wir Dich zu einer Umfrage eingeladen.<br /><br />Zu unserem Bedauern haben wir bemerkt, dass Du die Umfrage noch nicht ausgefüllt hast. Wir möchten Dir mitteilen, dass die Umfrage noch aktiv ist und würden uns freuen, wenn Du teilnehmen könntest.<br /><br />Der Titel der Umfrage ist <br />'{SURVEYNAME}'<br /><br />'{SURVEYDESCRIPTION}'<br /><br />Um an dieser Umfrage teilzunehmen, klicke bitte auf den unten stehenden Link.<br /><br /> Mit freundlichen Grüßen,<br /><br />{ADMINNAME} ({ADMINEMAIL})<br /><br />----------------------------------------------<br />Klicken Du hier um die Umfrage zu starten:<br />{SURVEYURL}","Registrierungsbestätigung für Teilnahmeumfrage","Hallo {FIRSTNAME},<br /><br />Du (oder jemand, der Deine Email benutzt hat) hat sich für eine Umfrage mit dem Titel {SURVEYNAME} angemeldet.<br /><br />Um an dieser Umfrage teilzunehmen, klicke bitte auf den folgenden Link.nn{SURVEYURL}<br /><br />Wenn Du irgendwelche Fragen zu dieser Umfrage hast oder wenn Du Dich _nicht_ für diese Umfrage angemeldet hast und Du glaubst, dass Dir diese Email irrtümlicherweise zugeschickt worden ist, kontaktiere bitte {ADMINNAME} unter {ADMINEMAIL}.","Abschlussbestätigung einer Umfrage","Hallo {FIRSTNAME},nnVielen Dank für die Teilnahme an der Umfrage mit dem Titel {SURVEYNAME}. Deine Antworten wurden bei uns gespeichert.nnWenn Du irgendwelche Fragen zu dieser Email hast, kontaktiere mich bitte {ADMINNAME} unter {ADMINEMAIL}.nnMit freundlichen Grüßen,nn{ADMINNAME}","1"
#
# QUOTA TABLE
#
#
# QUOTA_MEMBERS TABLE
#
#
# QUOTA_LANGUAGESETTINGS TABLE
#
| ||||
| Bug heat | 6 | ||||
| Complete LimeSurvey version number (& build) | 8243 | ||||
| I will donate to the project if issue is resolved | |||||
| Browser | |||||
| Database type & version | MySQL5 | ||||
| Server OS (if known) | Linux | ||||
| Webserver software & version (if known) | Apache | ||||
| PHP Version | 5.2 | ||||
| Git branch / Pull Request URL | |||||
|
Please add a screenshot and a simple sample survey (survey structure as .csv-file), where we can reproduce the issue - THX! |
|
|
Since the status is still on feedback, is there something more missing? |
|
|
@ lemeur: what do you think about it? |
|
|
Conditions are working as they are displayed: You have to set the opposite condition instead Where "Option1" ... are all options from Q1 except NoAnswer and Dislike. Note that this is by design as explained in the conditions Doc: several conditions based on the same right-field are ORed, whatever the conditionnal operator. This is a current limitation of LS, and was decided far before the NotEquals operator was implemented. Changing this now would require rewriting all the conditions code, and trust me this would be a tremendous work. An alternative would be to implement the "Negate condition" option so that what you want to do would be equivalebt to NOT(Q1=NoAnswer OR Q1=Dislike). This is already in the diea tracker, but would also require a great amount of work. Regards, |
|
|
This is no bug |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2010-02-06 20:25 | leolime | New Issue | |
| 2010-02-06 20:25 | leolime | Status | new => assigned |
| 2010-02-06 20:25 | leolime | Assigned To | => user372 |
| 2010-02-06 20:25 | leolime | LimeSurvey build number | => 8243 |
| 2010-02-06 20:25 | leolime | Database & DB-Version | => MySQL5 |
| 2010-02-06 20:25 | leolime | Operating System (Server) | => Linux |
| 2010-02-06 20:25 | leolime | Webserver | => Apache |
| 2010-02-06 20:25 | leolime | PHP Version | => 5.2 |
| 2010-02-06 22:55 |
|
Note Added: 11004 | |
| 2010-02-06 22:56 |
|
Status | assigned => feedback |
| 2010-02-07 18:43 | leolime | File Added: limesurvey_sample_81995.csv | |
| 2010-02-10 08:21 | leolime | Note Added: 11027 | |
| 2010-02-18 08:26 |
|
Note Added: 11124 | |
| 2010-02-18 08:26 |
|
Status | feedback => assigned |
| 2010-02-18 08:26 |
|
Assigned To | user372 => lemeur |
| 2010-02-18 11:53 | lemeur | Note Added: 11127 | |
| 2010-02-18 11:54 | lemeur | Note Added: 11128 | |
| 2010-02-18 11:54 | lemeur | Status | assigned => closed |
| 2010-02-18 11:54 | lemeur | Resolution | open => won't fix |