View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
16020Bug reportsExpression Managerpublic2021-09-06 10:59
Reporterjakobwoegerbauer Assigned Togalads  
PrioritynoneSeverityminor 
Status closedResolutionfixed 
Product Version4.1.10 
Summary16020: variable SURVEYNAME undefined in Welcometext/Description but working in logic check
Description

The variable SURVEYNAME is undefined in the welcome text when executing the survey.
It does work in the survey logic view ("No syntax errors detected in this survey.").
Additionally the correct surveyname is displayed when hovering over the variable.

Steps To Reproduce

Create a new survey with {SURVEYNAME} in the welcome text or the description.
Execute the survey -> undefined variable
Check survey logic -> seems like everything is ok

TagsNo tags attached.
Bug heat6
Complete LimeSurvey version number (& build)Version 4.1.10+200311
I will donate to the project if issue is resolvedNo
BrowserFirefox 74.0
Database type & versionMSSQL, Microsoft SQL Server 14.0
Server OS (if known)Windows Server 2016
Webserver software & version (if known)IIS 10.0.14393.0
PHP Version7.2.7

Users monitoring this issue

There are no users monitoring this issue.

Activities

jakobwoegerbauer

jakobwoegerbauer

2020-03-22 16:46

reporter   ~56725

It looks like in SurveyRuntimeHelper.run() LimeExpressionManager::updateReplacementFields() is called after the twig template is rendered (displayFirstPageIfNeeded()) and templatereplace() isn't called either, since LimeExpressionManager::StartProcessingPage() is called with $initializeVars=false.

ollehar

ollehar

2021-03-10 23:05

administrator   ~63242

Please update to the latest version and check if the bug can still be reproduced. Thank you.

galads

galads

2021-08-16 09:56

reporter   ~65994

Hello jakobwoegerbauer,
I checked this with the latest version and could not reproduce it, so this is most likely fixed for good.
Therefore, I am closing this issue. If you still can reproduce the issue using the latest version, please feel free to re-open the issue.
Thank you!

galads

Issue History

Date Modified Username Field Change
2020-03-22 14:40 jakobwoegerbauer New Issue
2020-03-22 16:46 jakobwoegerbauer Note Added: 56725
2021-03-10 23:05 ollehar Status new => feedback
2021-03-10 23:05 ollehar Note Added: 63242
2021-08-16 09:56 galads Note Added: 65994
2021-08-16 09:56 galads Bug heat 4 => 6
2021-08-16 09:56 galads Assigned To => galads
2021-08-16 09:56 galads Status feedback => resolved
2021-08-16 09:56 galads Resolution open => fixed
2021-09-06 10:59 c_schmitz Status resolved => closed