View Issue Details

This issue affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
20608Bug reportsSurvey editingpublic2026-09-10 14:12
Reporterriku Assigned ToDenisChenu  
PrioritynoneSeverityminor 
Status closedResolutionfixed 
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 heat6
Complete LimeSurvey version number (& build)?
I will donate to the project if issue is resolvedNo
Story point estimate0
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.

DenisChenu

DenisChenu

2026-07-16 17:17

developer   ~85207

For us to be able to investigate this issue please attach a 2 question sample survey demonstrating the issue, either as .lss file (survey structure) or (even better) as .lsa file (survey archive).
With "Use the {STARTPOLICYLINK} and {ENDPOLICYLINK} placeholders in the privacy policy label field."

riku

riku

2026-07-17 14:04

reporter   ~85211

Here you go.

DenisChenu

DenisChenu

2026-09-08 15:14

developer   ~85608

https://github.com/LimeSurvey/LimeSurvey/pull/5174

DenisChenu

DenisChenu

2026-09-09 17:59

developer   ~85625

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=40276

LimeBot

LimeBot

2026-09-10 14:12

administrator   ~85640

Fixed in Release 7.0.15+260910

Related Changesets

LimeSurvey: master 9aa37691

2026-09-09 17:59

DenisChenu

Committer: GitHub


Details Diff
Fixed issue 20608: Data security notice label is not rendered correctly in "All in one" survey (05174) Affected Issues
20608
mod - application/core/LSETwigViewRenderer.php Diff File
mod - application/models/Survey.php Diff File
mod - themes/survey/fruity_twentythree/views/subviews/privacy/privacy_datasecurity_notice_label.twig Diff File
mod - themes/survey/fruity_twentythree/views/subviews/privacy/privacy_modal.twig Diff File
mod - themes/survey/vanilla/views/subviews/privacy/privacy_datasecurity_notice_label.twig Diff File
mod - themes/survey/vanilla/views/subviews/privacy/privacy_modal.twig Diff File

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
2026-07-16 17:17 DenisChenu Note Added: 85207
2026-07-16 17:17 DenisChenu Bug heat 2 => 4
2026-07-16 17:17 DenisChenu Assigned To => DenisChenu
2026-07-16 17:17 DenisChenu Status new => assigned
2026-07-17 14:04 riku Note Added: 85211
2026-07-17 14:04 riku File Added: survey_archive_762864.lsa
2026-09-08 15:13 DenisChenu Story point estimate => 0
2026-09-08 15:14 DenisChenu Assigned To DenisChenu => gabrieljenik
2026-09-08 15:14 DenisChenu Status assigned => ready for code review
2026-09-08 15:14 DenisChenu Note Added: 85608
2026-09-09 16:59 gabrieljenik Assigned To gabrieljenik => tibor.pacalat
2026-09-09 16:59 gabrieljenik Status ready for code review => ready for testing
2026-09-09 17:59 DenisChenu Changeset attached => LimeSurvey master 9aa37691
2026-09-09 17:59 DenisChenu Note Added: 85625
2026-09-09 17:59 DenisChenu Assigned To tibor.pacalat => DenisChenu
2026-09-09 17:59 DenisChenu Status ready for testing => resolved
2026-09-09 17:59 DenisChenu Resolution open => fixed
2026-09-10 14:12 LimeBot Note Added: 85640
2026-09-10 14:12 LimeBot Status resolved => closed
2026-09-10 14:12 LimeBot Bug heat 4 => 6