View Issue Details

This issue affects 1 person(s).
 8
IDProjectCategoryView StatusLast Update
14434Bug reportsTheme editorpublic2026-10-07 23:33
ReporterDenisChenu Assigned Toc_schmitz  
PrioritynoneSeverityminor 
Status closedResolutionfixed 
Product Version3.15.x 
Summary14434: dump show link of Extension/Debug.php not line of twig file
Description

Using {{ dump() }} in a twig file , this always show application/third_party/Twig/Extension/Debug.php:60 information : this is uneeded information

Steps To Reproduce

add {{dump('test') }} in a twig file

Additional Information

1: maybe just remove this information
2: best : have the line and the twig file (orginial one)

TagsNo tags attached.
Attached Files
Bug heat8
Complete LimeSurvey version number (& build)3.15.6 github
I will donate to the project if issue is resolvedNo
Browsernot relevant
Database type & versionnot relevant
Server OS (if known)not relevant
Webserver software & version (if known)not relevant
PHP Versionnot relevant

Users monitoring this issue

There are no users monitoring this issue.

Activities

asshank

asshank

2020-09-08 13:57

reporter   ~59743

Hi Denis,

It would be nice to have the twig debug option somehow enabled. (It is now disabled.. so dump() is ignored).

Something like: in config.php:
$config['debugtwig']=1

DenisChenu

DenisChenu

2020-09-08 14:22

developer   ~59745

Enable with debug > 0

asshank

asshank

2020-09-08 18:54

reporter   ~59748

Hi Denis..
That was what I had in mind.. And it is done already.. Respect!!!! :-)

I could not find this anywhere.. So just ask Denis :-) Thnx

DenisChenu

DenisChenu

2020-09-08 18:54

developer   ~59749

But have a way to enable dump for theme developer can be a good idea too.

asshank

asshank

2020-09-08 19:11

reporter   ~59750

Yep, but this is just what I need. I wanted to check this out but forgot to try it!

Can I ask you another question? About Lime4? Maybe you know the answer (as the plugin expert):
What 'event' can I use to change a survey form Format 'G' (Group by Group) to Format 'A' whithout changing the 'G' in the survey table? So change format on the fly!
beforeSurveyPage
beforeLoadResponse
afterFindSurvey
beforeControllerAction
beforeTwigRenderTemplate (although not documented yet)
do not help.
Somehow Format is early in process.. But where?

Again sorry for this.. It is sitting on my mind for a few day's now!

DenisChenu

DenisChenu

2020-09-09 07:55

developer   ~59751

Please : on forum (Plugin)

https://manual.limesurvey.org/AfterFindSurvey (just updated the manual)

c_schmitz

c_schmitz

2026-10-03 09:28

administrator   ~86193

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

LimeBot

LimeBot

2026-10-07 23:33

administrator   ~86254

Fixed in Release 7.5.1+261007

Related Changesets

LimeSurvey: master 6dfcecd0

2026-10-03 09:27

c_schmitz


Details Diff
Fixed issue 14434: Twig dump() showed a Twig vendor file location instead of the theme file and line
Dev Replaced Twig DebugExtension with LS_Twig_Debug_Extension that prefixes dumps with the twig file:line and renders them with CVarDumper
Affected Issues
14434
mod - application/config/internal.php Diff File
add - application/core/LS_Twig_Debug_Extension.php Diff File
add - tests/unit/LSTwigDebugExtensionTest.php Diff File

Issue History

Date Modified Username Field Change
2019-01-17 09:06 DenisChenu New Issue
2019-01-17 09:06 DenisChenu Status new => assigned
2019-01-17 09:06 DenisChenu Assigned To => LouisGac
2019-01-17 09:06 DenisChenu File Added: Capture d’écran du 2019-01-17 09-03-32.png
2020-09-08 13:57 asshank Note Added: 59743
2020-09-08 14:22 DenisChenu Note Added: 59745
2020-09-08 14:22 DenisChenu Assigned To LouisGac =>
2020-09-08 14:22 DenisChenu Status assigned => new
2020-09-08 18:54 asshank Note Added: 59748
2020-09-08 18:54 DenisChenu Note Added: 59749
2020-09-08 19:11 asshank Note Added: 59750
2020-09-09 07:55 DenisChenu Note Added: 59751
2026-10-03 09:28 c_schmitz Changeset attached => LimeSurvey master 6dfcecd0
2026-10-03 09:28 c_schmitz Note Added: 86193
2026-10-03 09:28 c_schmitz Assigned To => c_schmitz
2026-10-03 09:28 c_schmitz Status new => resolved
2026-10-03 09:28 c_schmitz Resolution open => fixed
2026-10-03 09:28 c_schmitz Bug heat 4 => 6
2026-10-07 23:33 LimeBot Note Added: 86254
2026-10-07 23:33 LimeBot Status resolved => closed
2026-10-07 23:33 LimeBot Bug heat 6 => 8