View Issue Details

This issue affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
15982Bug reportsImport/Exportpublic2026-10-30 09:02
ReporterDenisChenu Assigned Top_teichmann  
PrioritynoneSeverityminor 
Status confirmedResolutionopen 
Product Version4.1.10 
Summary15982: Default attribute are saved in DB
Description

In 3.X (and previously) : uneeded value (bvecause default) was not save in DB
In 4.X : all attribute even default are saved in DB

Additional Information

It's always better to keep default as default
It's always better to don't save data in DB if not needed

TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)4.1.10 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
Git branch / Pull Request URL

Relationships

related to 17263 closed Advanced settings are not reset when set to another question type 
related to 18060 closedgabrieljenik 'Save as default values' question setting not working properly 

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2026-10-29 21:45

administrator   ~87014

Still the case in the current version: when a question is saved, all of its settings are stored, including the ones left at their default value. This was done on purpose in 2024 (QE-1036), probably because the new question editor relies on it. We need to decide whether to keep that before this can be changed.

DenisChenu

DenisChenu

2026-10-30 09:02

developer   ~87016

The LSS size is really bigger: the sample moved to more than 2M

Maybe check with the new question editor really need it ?

Issue History

Date Modified Username Field Change
2020-03-13 09:06 DenisChenu New Issue
2020-03-13 11:00 ollehar Assigned To => p_teichmann
2020-03-13 11:00 ollehar Status new => assigned
2021-04-20 18:43 DenisChenu Relationship added related to 17263
2021-04-20 18:44 DenisChenu Summary Deault attribute are saved in DB => Default attribute are saved in DB
2022-04-28 15:27 DenisChenu Relationship added related to 18060
2026-10-29 21:45 c_schmitz Note Added: 87014
2026-10-29 21:45 c_schmitz Bug heat 0 => 2
2026-10-29 21:45 c_schmitz Status assigned => confirmed
2026-10-30 09:02 DenisChenu Note Added: 87016
2026-10-30 09:02 DenisChenu Bug heat 2 => 4