View Issue Details

This bug affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
18572Bug reportsOtherpublic2023-01-26 15:08
Reporter2BITS_PL Assigned Toollehar  
PrioritynoneSeverityminor 
Status ready for mergeResolutionopen 
Product Version5.4.x 
Summary18572: [Twig] The "duration" type field has an invalid value for "name".
Description

In the "fruit" theme edit, if we go to the "Animations" section, the duration fields are set to "false". They cannot be changed in any way.

The error is here:
https://github.com/LimeSurvey/LimeSurvey/blob/00e9c24a175a32711721e68c3e4db5783b25ec96/application/views/themeOptions/options_core.php#L192

Solution:
The $optionKey parameter is undefined here.
The correct value for the "name" field should be $attributeKey

Steps To Reproduce

See: https://demo.limesurvey.org/index.php?r=themeOptions/update&id=2#category-3

TagsNo tags attached.
Bug heat2
Complete LimeSurvey version number (& build)Version 5.4.11+221114
I will donate to the project if issue is resolvedNo
Browser
Database type & versionSQL Server 2019
Server OS (if known)
Webserver software & version (if known)
PHP Versionv8.1.12 NTS x64

Users monitoring this issue

User List There are no users monitoring this issue.

Issue History

Date Modified Username Field Change
2022-12-28 17:24 2BITS_PL New Issue
2023-01-16 17:56 gabrieljenik Status new => acknowledged
2023-01-17 17:08 gabrieljenik Assigned To => gabrieljenik
2023-01-17 17:08 gabrieljenik Status acknowledged => assigned
2023-01-23 12:53 gabrieljenik Status assigned => ready for code review
2023-01-23 12:53 gabrieljenik Note Added: 73531
2023-01-23 12:53 gabrieljenik Bug heat 0 => 2
2023-01-23 12:53 gabrieljenik Assigned To gabrieljenik => DenisChenu
2023-01-23 13:40 DenisChenu Assigned To DenisChenu =>
2023-01-23 13:40 DenisChenu Status ready for code review => ready for testing
2023-01-26 15:08 gabrieljenik Assigned To => ollehar
2023-01-26 15:08 gabrieljenik Status ready for testing => ready for merge