View Issue Details

IDProjectCategoryView StatusLast Update
14698Bug reports[All Projects] Expression Managerpublic2019-06-04 12:23
ReporterDenisChenu Assigned ToDenisChenu  
PrioritynoneSeverityminor 
Status resolvedResolutionfixed 
Product Version4.0.0-beta 
Target Version4.0.0-beta2Fixed in Version4.0.0-beta2 
Summary14698: Expression manager must not treat user entered value
Description

If user enter {1+2} in a free value : it must not be replaced after.

Steps To Reproduce

Import included survey, follow instructions see what happen

Additional Information

Think it can be fixed in em_core but maybe only in 4.0 since https://github.com/LimeSurvey/LimeSurvey/commit/9c055e54b013833fb905b023787ae93291e5130f#diff-b69c0b8c301d9dce52f005d2664f3dfb

TagsNo tags attached.
Complete LimeSurvey version number (& build)3.16.1 github
I will donate to the project if issue is resolvedNo
Browsernot relevant
Database & DB-Versionnot relevant
Server OS (if known)not relevant
Webserver software & version (if known)not relevant
PHP Versionnot relevant

Relationships

child of 13001 closedDenisChenu Expression Manager evaluates answers to free text questions enclosed by "{" and "}" 

Activities

DenisChenu

DenisChenu

2019-03-27 14:52

developer  

limesurvey_survey_curl.lss (18,798 bytes)
DenisChenu

DenisChenu

2019-03-27 14:58

developer   ~51173

Another survey where some must be replaced and some other not …



limesurvey_survey_curl-more.lss (22,472 bytes)
DenisChenu

DenisChenu

2019-06-03 08:32

developer   ~52270

Ok,

Partially fixed : OK in input, but not when view.



DenisChenu

DenisChenu

2019-06-04 11:38

developer   ~52286

Then : fixed in 4.0 for input, but not for other expression :).

I got the fix \o/

DenisChenu

DenisChenu

2019-06-04 12:23

developer   ~52288

Third test survey



limesurvey_survey_curl-more3.lss (26,438 bytes)
DenisChenu

DenisChenu

2019-06-04 12:23

developer   ~52289

https://github.com/LimeSurvey/LimeSurvey/commit/c34115591d4ce591b2277c46d0435a6c00dcbc66

Issue History

Date Modified Username Field Change
2019-03-27 14:51 DenisChenu New Issue
2019-03-27 14:51 DenisChenu Status new => assigned
2019-03-27 14:51 DenisChenu Assigned To => DenisChenu
2019-03-27 14:52 DenisChenu File Added: limesurvey_survey_curl.lss
2019-03-27 14:58 DenisChenu File Added: limesurvey_survey_curl-more.lss
2019-03-27 14:58 DenisChenu Note Added: 51173
2019-06-03 08:32 DenisChenu File Added: Capture d’écran du 2019-06-03 08-31-37.png
2019-06-03 08:32 DenisChenu Note Added: 52270
2019-06-04 11:38 DenisChenu Relationship added child of 13001
2019-06-04 11:38 DenisChenu Note Added: 52286
2019-06-04 11:39 DenisChenu Product Version => 4.0.0-beta
2019-06-04 11:39 DenisChenu Target Version => 4.0.0-beta2
2019-06-04 12:23 DenisChenu File Added: limesurvey_survey_curl-more3.lss
2019-06-04 12:23 DenisChenu Note Added: 52288
2019-06-04 12:23 DenisChenu Status assigned => resolved
2019-06-04 12:23 DenisChenu Resolution open => fixed
2019-06-04 12:23 DenisChenu Fixed in Version => 4.0.0-beta2
2019-06-04 12:23 DenisChenu Note Added: 52289