View Issue Details

This issue affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
18846Bug reports_ Unknownpublic2026-11-19 22:43
ReporterDenisChenu Assigned To 
PrioritynoneSeverityminor 
Status closedResolutionno change required 
Summary18846: Double function for twig json_decode
Description

There are 2 function for json_decode in twig

Steps To Reproduce

Steps to reproduce

Look at https://github.com/LimeSurvey/LimeSurvey/blob/ab5bbcef3db22070f600c2a90f97254f87aec984/application/config/internal.php#LL308C66-L308C77

Expected result

Only one json_encode key

Actual result

2 different function

Currently : we can remove this one : https://github.com/LimeSurvey/LimeSurvey/blob/ab5bbcef3db22070f600c2a90f97254f87aec984/application/core/LS_Twig_Extension.php#L136

TagsNo tags attached.
Bug heat2
Complete LimeSurvey version number (& build)
I will donate to the project if issue is resolved
Browser
Database type & version
Server OS (if known)
Webserver software & version (if known)
PHP Version
Git branch / Pull Request URLN/A

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2026-11-19 22:43

administrator   ~87763

LimeSurvey 7 registers only one Twig json_decode function (LS_Twig_Extension::json_decode in internal.php), so there is no duplicate left to remove. Closing; please reopen with details if you see a second one.

Issue History

Date Modified Username Field Change
2023-05-30 08:57 DenisChenu New Issue
2026-11-19 22:43 c_schmitz Note Added: 87763
2026-11-19 22:43 c_schmitz Bug heat 0 => 2
2026-11-19 22:43 c_schmitz Status new => closed
2026-11-19 22:43 c_schmitz Resolution open => no change required