View Issue Details

IDProjectCategoryView StatusLast Update
14605Bug reportsTheme editorpublic2021-03-26 09:54
ReporterDenisChenu Assigned To 
PrioritynoneSeverityminor 
Status newResolutionopen 
Product Version3.16.x 
Summary14605: Adding an option on an existing template are not in aSurvey.options
DescriptionWhen adding an options in config + twig view, without resetting : nothing is send to aSurveyInfo
Steps To ReproduceCreate a template, install
Add a new option in config.xml
Add the twig part
Update this option in twig part : the updated value are not sent to aSurveyInfo.options
Additional InformationI think it can be
aSurveyInfo.options.newvalue : null if inherit or not set in survey theme option
But
aSurveyInfo.options.newvalue : valueset if is set in survey theme option

I try to send you 2 template (no wayt to update without FTP).
TagsNo tags attached.
Complete LimeSurvey version number (& build)3.16.1 github
I will donate to the project if issue is resolvedNo
Browsernot relevant
Database & DB-Versionnot relevant
Server OS (if known)not relevant
Webserver software & version (if known)not relevant
PHP Versionnot relevant

Activities

c_schmitz

c_schmitz

2021-03-26 09:09

administrator   ~63642

This is not a bug. Config.xml is only read at installation
DenisChenu

DenisChenu

2021-03-26 09:54

developer   ~63646

Feature request : allow update without need to reset whole ?

I mean : for example

1. Set logo to logo.png
2. reset : logo.png is lost

With update
1. set logo option to logo.png
2. Update theme : add maxwidth to 100%
3. Click on update :
3.1. logo stay logo.png,
3.2. maxwidth is set to 100% in Template without group and survey
3.3 maxwidth is set to inherit

I understand the «Config.xml is only read at installation » but tyhe current reset way is really awfull …

Issue History

Date Modified Username Field Change
2019-03-05 17:15 DenisChenu New Issue
2019-03-05 17:15 DenisChenu Status new => assigned
2019-03-05 17:15 DenisChenu Assigned To => LouisGac
2021-03-26 08:11 DenisChenu Assigned To LouisGac =>
2021-03-26 08:11 DenisChenu Status assigned => new
2021-03-26 09:09 c_schmitz Note Added: 63642
2021-03-26 09:54 DenisChenu Note Added: 63646