View Issue Details

This issue affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
17393Bug reportsOtherpublic2026-11-20 11:16
Reporterollehar Assigned To 
PrioritynoneSeverityminor 
Status closedResolutionwon't fix 
Summary17393: Move validation logic of quesiton theme attributes to install phase?
Description
    $questionAttributeHelper = new LimeSurvey\Models\Services\QuestionAttributeHelper();
    $additionalAttributes = $questionAttributeHelper->fillMissingCategory($additionalAttributes, gT('Template'));
    $additionalAttributes = $questionAttributeHelper->sanitizeQuestionAttributes($additionalAttributes);

Missing category == should not be possible to install?

Similar logic in sanitize method.

TagsNo tags attached.
Bug heat2
Complete LimeSurvey version number (& build)
I will donate to the project if issue is resolved
Browser
Database type & version
Server OS (if known)
Webserver software & version (if known)
PHP Version
Git branch / Pull Request URLN/A

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2026-11-20 11:15

administrator   ~87809

Not possible: the theme config.xml is read again each time it is used, so a check during install would not guarantee anything. A missing category is also valid, e.g. for attributes that only hide a core attribute. Closing as won't fix.

Issue History

Date Modified Username Field Change
2021-06-25 13:52 ollehar New Issue
2026-11-19 22:50 c_schmitz Status new => acknowledged
2026-11-20 11:15 c_schmitz Note Added: 87809
2026-11-20 11:15 c_schmitz Bug heat 0 => 2
2026-11-20 11:15 c_schmitz Status acknowledged => closed
2026-11-20 11:15 c_schmitz Resolution open => @0@
2026-11-20 11:15 c_schmitz Product Version 5.x.0-dev =>
2026-11-20 11:15 c_schmitz Resolution @0@ => won't fix
2026-11-20 11:16 c_schmitz Resolution won't fix => @0@
2026-11-20 11:16 c_schmitz Resolution @0@ => won't fix