View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
11195Bug reportsSurvey takingpublic2018-09-28 14:12
Reporterkeunes Assigned ToDenisChenu  
PrioritynoneSeverityblock 
Status closedResolutionfixed 
Product Version2.50.x 
Fixed in Version2.50.x 
Summary11195: Expression Manager : bad comparaison with numeric value
Description

So I updated two files after #11163 had been resolved:
application/helpers/expressions -> em_core_helper.php
application/helpers -> SurveyRuntimeHelper.php

So my installation now is 160512 with updates reported in the abovementioned bug report:
https://github.com/LimeSurvey/LimeSurvey/commit/8e99cdffb89d97452c23415d1258aeee3c43ea27
https://github.com/LimeSurvey/LimeSurvey/commit/d3fd417e986fb9b10b69a6bcaae4fb0eda8f571c

<b>The new bug</b>
With the attached survey, for page 3 (qid 8 'SUBJWHY' & 1800 'SUBJWHYGEN'), after fulfilling requirements (answering 1 - 4 questions for qid 8 'SUBJWHY') users get presented an error saying that they have not fulfilled the requirements of the question and that they cannot continue until they have fixed the issue. No question is marked as 'wrong', though, and there is no further specification of what is wrong.

Replacing em_core_helper.php with the original 160512 file makes it again possible for ppl to continue question 3, however re-introduces #11163. So I suspect this is a regression error.

Additional Information

This introduces a devilish dilemma for me: either respondents cannot save & resume, or they cannot continue at all :/

TagsNo tags attached.
Attached Files
Bug heat4
Complete LimeSurvey version number (& build)160512
I will donate to the project if issue is resolvedNo
Browser
Database type & versionMySQL: 5.5.38
Server OS (if known)??
Webserver software & version (if known)Apache/2.2.16 (Debian)
PHP Version5.6.17

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2016-05-16 19:31

developer   ~38584

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

DenisChenu

DenisChenu

2016-05-16 19:33

developer   ~38585

Fix committed to 2.06lts branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&amp;id=19063

c_schmitz

c_schmitz

2016-05-17 12:41

administrator   ~38606

Version 2.50+ Build 160516 released

DenisChenu

DenisChenu

2018-09-28 14:12

developer   ~49185

Fix committed to 2.06lts branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&amp;id=28090

Related Changesets

LimeSurvey: master 8ac2d67c

2016-05-16 17:31:19

DenisChenu

Details Diff
Fixed issue 11195: Expression Manager : bad comparaison with numeric value
Dev: set to strval, else real float is invalid
Affected Issues
11195
mod - application/helpers/expressions/em_core_helper.php Diff File

LimeSurvey: 2.06lts 897e91ab

2016-05-16 17:33:05

DenisChenu

Details Diff
Fixed issue 11195: Expression Manager : bad comparaison with numeric value
Dev: set to strval, else real float is invalid
Affected Issues
11195
mod - application/helpers/expressions/em_core_helper.php Diff File

LimeSurvey: 2.06lts f812d6b2

2016-05-16 19:36:54

DenisChenu

Details Diff
Fixed issue 11195: Expression Manager : bad comparaison with numeric value
Dev: set to strval, else real float is invalid
Affected Issues
11195
mod - README.md Diff File
mod - application/config/version.php Diff File
mod - application/helpers/expressions/em_core_helper.php Diff File

Issue History

Date Modified Username Field Change
2016-05-16 13:30 keunes New Issue
2016-05-16 13:30 keunes File Added: limesurvey_survey_421971_frombug.lss
2016-05-16 19:07 DenisChenu Assigned To => DenisChenu
2016-05-16 19:07 DenisChenu Status new => assigned
2016-05-16 19:28 DenisChenu Summary LS gives respondents unexpected 'not correctly answered' error (regression error from 1163?) => Expression Manager : bad comparaison with numeric value
2016-05-16 19:31 DenisChenu Changeset attached => LimeSurvey master 8ac2d67c
2016-05-16 19:31 DenisChenu Note Added: 38584
2016-05-16 19:31 DenisChenu Resolution open => fixed
2016-05-16 19:33 DenisChenu Changeset attached => LimeSurvey 2.06lts 897e91ab
2016-05-16 19:33 DenisChenu Note Added: 38585
2016-05-16 19:33 DenisChenu Status assigned => resolved
2016-05-16 19:33 DenisChenu Fixed in Version => 2.5
2016-05-17 12:41 c_schmitz Note Added: 38606
2016-05-17 12:41 c_schmitz Status resolved => closed
2018-09-28 14:12 DenisChenu Changeset attached => LimeSurvey 2.06lts f812d6b2
2018-09-28 14:12 DenisChenu Note Added: 49185