View Issue Details

IDProjectCategoryView StatusLast Update
15446Bug reports[All Projects] Survey editingpublic2019-11-28 16:35
Reportertpartner Assigned Tocdorin  
PrioritynoneSeveritymajor 
Status assignedResolutionopen 
Product Version4.0.0-RC6 
Target VersionFixed in Version 
Summary15446: Custom Twig extensions do not work
Description

I copied the existing HelloWorld_Twig_Extension file in ./upload/twig/extensions, simply changing all instances of "HelloWorld" with "MyTest", which should have given me access to a new TWIG function MyTest().

The result in the back end is seen in the attached bug_11_backend.png.

The result in the front end for all surveys is seen in bug_11_frontend.png.

I have also attached my test extension file - MyTest_Twig_Extension.zip.

TagsNo tags attached.
Complete LimeSurvey version number (& build)4.0.0-RC6
I will donate to the project if issue is resolvedNo
BrowserN/A
Database & DB-Versionmysqlnd 5.0.12
Server OS (if known)Windows 10
Webserver software & version (if known)Apache/2.4.39 (Win64)
PHP Version7.3.7

Activities

tpartner

tpartner

2019-10-22 20:01

developer  

bug_11_backend.png (28,848 bytes)
bug_11_backend.png (28,848 bytes)
bug_11_frontend.png (40,626 bytes)
bug_11_frontend.png (40,626 bytes)
MyTest_Twig_Extension.zip (2,053 bytes)
cdorin

cdorin

2019-11-28 16:35

manager   ~54880

It will be part of the next round of bugs fixing. thx for report!

Issue History

Date Modified Username Field Change
2019-10-22 20:01 tpartner New Issue
2019-10-22 20:01 tpartner File Added: bug_11_backend.png
2019-10-22 20:01 tpartner File Added: bug_11_frontend.png
2019-10-22 20:01 tpartner File Added: MyTest_Twig_Extension.zip
2019-10-22 20:02 tpartner Description Updated View Revisions
2019-11-01 17:25 c_schmitz Category Survey design => Survey editing
2019-11-14 21:33 cdorin Assigned To => cdorin
2019-11-14 21:33 cdorin Status new => assigned
2019-11-28 16:35 cdorin Note Added: 54880