View Issue Details

This bug affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
08251Feature requestsExpression Managerpublic2021-11-04 07:35
Reporterjonsen Assigned Togalads  
PrioritynormalSeverity@50@ 
Status closedResolutionfixed 
Summary08251: Syntax check returns "undefined variable" on TOKEN-variables before executing the survey
Description

As reported in the forum (http://www.limesurvey.org/en/forum/design-issues/94760-undefined-variable-token-language):

The syntax check turns up an "undefined variable" error for the variable TOKEN:LANGUAGE, which I selected using the condition manager. The language-field is standard in all token tables, so it might be empty, but will never be undefined.

What I figured out:
The variables are not set until the query is executed once, so entering the test survey and entering a token will get rid of the "undefined variable" error.

Maybe the syntax check should check the token table for the existence of a TOKEN:... variable, rather then being dependent on the execution of the survey...

Additional Information

LimeSurvey 2.00+ b130929

TagsNo tags attached.
Bug heat2
Story point estimate
Users affected %

Users monitoring this issue

There are no users monitoring this issue.

Activities

galads

galads

2021-11-04 07:35

reporter   ~67091

This version of LimeSurvey is no longer supported. Please check so that the issue is fixed in a more recent version of LimeSurvey. If it's not, reopen this bug report. Thank you.

Issue History

Date Modified Username Field Change
2013-10-09 12:27 jonsen New Issue
2021-11-04 07:35 galads Note Added: 67091
2021-11-04 07:35 galads Bug heat 0 => 2
2021-11-04 07:35 galads Assigned To => galads
2021-11-04 07:35 galads Status new => closed
2021-11-04 07:35 galads Resolution open => fixed