View Issue Details

This bug affects 1 person(s).
 0
IDProjectCategoryView StatusLast Update
17743Bug reports_ Unknownpublic2021-11-22 06:39
Reporterbaltzis Assigned Togalads  
PrioritynoneSeverityminor 
Status acknowledgedResolutionopen 
Product Version5.2.x 
Summary17743: Placeholders causing error warning
Description

The placeholders {STARTPOLICYLINK} and {ENDPOLICYLINK} cause error warning when used to specify a link in the field "Show survey policy text with mandatory checkbox", following the instructions on the page "Settings/Data policy settings".

to specify a link to the survey data policy, set "Show survey policy text with mandatory checkbox" to "Collapsible text" and use in the "Survey data policy checkbox label" field to define the link that opens the policy popup. If there is no placeholder given, there will be an appendix.

Steps To Reproduce

Steps to reproduce

  1. Open any survey
  2. Go to "Settings/Data policy settings"
  3. Set "Show survey policy text with mandatory checkbox" to "Collapsible text"
  4. In the field "Show survey policy text with mandatory checkbox" set some text using the placeholders (e.g. "I have read the {STARTPOLICYLINK}data policy{ENDPOLICYLINK} and agree:" (Screenshot 1).
  5. From the horizontal button menus at the top, select "Tools/Survey logic file"

Expected result

The logic file page should appear with a message for no errors (provided that there are no other errors)

Actual result

The logic file page appears with an error message (Screenshot 2). Besides, in the text elements summary, on page "Settings/Overview", the placeholders are designated as undefined variables (Screenshot 3).

TagsNo tags attached.
Attached Files
Screenshot 1.png (56,633 bytes)   
Screenshot 1.png (56,633 bytes)   
Screenshot 2.png (54,011 bytes)   
Screenshot 2.png (54,011 bytes)   
Screenshot 3.png (77,166 bytes)   
Screenshot 3.png (77,166 bytes)   
Bug heat0
Complete LimeSurvey version number (& build)5.2.2+211115
I will donate to the project if issue is resolvedNo
BrowserAny
Database type & versionmysql / mysqlnd 5.0.12-dev - 20150407 - $Id: 38fea24f2847fa7519001be390c98ae0acafe387 $
Server OS (if known)Windows NT WIN-A34LDHDT6H4 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
Webserver software & version (if known)Microsoft-IIS/8.5
PHP Version7.2.7

Users monitoring this issue

There are no users monitoring this issue.

Activities

Issue History

Date Modified Username Field Change
2021-11-20 08:53 baltzis New Issue
2021-11-20 08:53 baltzis File Added: Screenshot 1.png
2021-11-20 08:53 baltzis File Added: Screenshot 2.png
2021-11-20 08:53 baltzis File Added: Screenshot 3.png
2021-11-22 06:39 galads Assigned To => galads
2021-11-22 06:39 galads Status new => acknowledged