View Issue Details

This issue affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
20608Bug reportsSurvey editingpublic2026-07-16 11:16
Reporterriku Assigned To 
PrioritynoneSeverityminor 
Status newResolutionopen 
Summary20608: datasecurity_notice_label is not rendered correctly with "Collapsible text" and "All in one" survey format
Description

This is a follow up for 19852.

Steps To Reproduce

Steps to reproduce

(Replace this text with detailed step-by-step instructions on how to reproduce the issue)

Expected result

(Write here what you expected to happen)

Actual result

(Write here what happened instead)

TagsNo tags attached.
Bug heat2
Complete LimeSurvey version number (& build)?
I will donate to the project if issue is resolvedNo
Browser
Database type & version?
Server OS (if known)
Webserver software & version (if known)
PHP Version?

Users monitoring this issue

There are no users monitoring this issue.

Activities

riku

riku

2026-07-16 11:16

reporter   ~85206

For some reason I was getting an error about "version" being invalid while submitting this bug so I will add some details here. The problem occurs due to the fact that em_tip.twig is rendered first on the page, retrieving the correct value for datasecurity_notice_label. However, on subsequent calls to setDefaultPrivacyText (for rendering privacy_datasecurity_notice_label.twig), the logic is skipped and placeholders are not replaced.

Steps to reproduce

  1. Create a survey with Vanilla theme.
  2. Set format to "All in one".
  3. Add a "Collapsible text" privacy policy.
  4. Use the {STARTPOLICYLINK} and {ENDPOLICYLINK} placeholders in the privacy policy label field.

Expected result

The privacy policy label placeholders are replaced with a toggle link.

Actual result

The placeholders are not replaced.

See the attached screenshots for examples.

Issue History

Date Modified Username Field Change
2026-07-16 11:10 riku New Issue
2026-07-16 11:16 riku Note Added: 85206
2026-07-16 11:16 riku File Added: Screenshot 2026-07-16 at 12.03.47.png
2026-07-16 11:16 riku File Added: Screenshot 2026-07-16 at 12.04.09.png
2026-07-16 11:16 riku Bug heat 0 => 2