View Issue Details

IDProjectCategoryView StatusLast Update
14486Bug reports[All Projects] Expression Managerpublic2019-02-04 16:22
ReporterludogreAssigned To 
PrioritynoneSeveritymajor 
Status newResolutionopen 
Product Version3.15.x 
Target VersionFixed in Version 
Summary14486: .question suffix broke usage of if function
Description

Hi!

I've got an issue with a conditionnal expression. The survey always returns the value if it's false, even if the condition is true.

Steps To Reproduce

You can test it here: https://questionnaires.heureux-cyclage.org/index.php?r=survey/index&sid=685936&lang=fr
Change values in the second question and see the last line of the last "question". Condition never change.

Additional Information

Here is the js debug message:

LSLOG TypeError: "string is undefined"
htmlspecialchars_decode https://questionnaires.heureux-cyclage.org/tmp/assets/d650b200/em_javascript.js:1482
LEMval https://questionnaires.heureux-cyclage.org/tmp/assets/d650b200/em_javascript.js:685
LEMrel9567 https://questionnaires.heureux-cyclage.org/index.php?r=survey/index&sid=685936&lang=fr:232
ExprMgr_process_relevance_and_tailoring https://questionnaires.heureux-cyclage.org/index.php?r=survey/index&sid=685936&lang=fr:182
checkconditions https://questionnaires.heureux-cyclage.org/tmp/assets/bbe4b4d7/survey_runtime.js:128
<anonymous> https://questionnaires.heureux-cyclage.org/tmp/assets/bbe4b4d7/survey_runtime.js:23
dispatch7jQuery lslog.js:200:17

TagsNo tags attached.
Complete LimeSurvey version number (& build)3.15.0
I will donate to the project if issue is resolvedNo
BrowserFirefox 65
Database & DB-Versionmysql 5.5.62
Server OS (if known)Debian 8
Webserver software & version (if known)Nginx 1.6.2
PHP Version5.6.39

Activities

ludogre

ludogre

2019-02-04 15:47

reporter  

limesurvey_survey_685936.lss (25,257 bytes)
DenisChenu

DenisChenu

2019-02-04 16:19

developer   ~50394

In 2.73 : no error in console, but broken too

DenisChenu

DenisChenu

2019-02-04 16:22

developer   ~50395

Updated title : .question suffix broke usage of if function

Issue History

Date Modified Username Field Change
2019-02-04 15:47 ludogre New Issue
2019-02-04 15:47 ludogre File Added: limesurvey_survey_685936.lss
2019-02-04 16:19 DenisChenu Note Added: 50394
2019-02-04 16:22 DenisChenu Category Conditions => Expression Manager
2019-02-04 16:22 DenisChenu Summary Only false value is return by my conditionnal expression => .question suffix broke usage of if function
2019-02-04 16:22 DenisChenu Note Added: 50395