View Issue Details

This issue affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
19461Bug reportsQuestion themepublic2026-10-11 21:06
Reporterp_teichmann Assigned To 
PrioritynoneSeverityminor 
Status closedResolutionwon't fix 
Product Version6.4.x 
Summary19461: QuestionTemplate::getQuestionTemplateList() loads question attributes from the database instead of the filesystem
Description

The job of QuestionTemplate is getting information from the filesystem and read infromation regarding the theme.
However currently it is getting the information in QuestionTemplate::getQuestionTemplateList() from the database which is already covered by the QuestionTheme::findQuestionMetaDataForAllTypes().

This can cause issues with attributes that are currently used by a question theme but are not in our global list of allowed attributes in questionHelper::getAttributesDefinitions().

So if we implement the correct loading of QuestionTemplate::getQuestionTemplateList() from the filesystem we would not have to worry about having undefined attributes.

One importing thing that needs to be done before this can be fully integrated is to add the translation strings to the xml files which are currently set through questionHelper::getAttributesDefinitions().

Steps To Reproduce

Steps to reproduce

(Replace this text with detailed step-by-step instructions on how to reproduce the issue)

Expected result

(Write here what you expected to happen)

Actual result

(Write here what happened instead)

TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)6.x
I will donate to the project if issue is resolvedNo
Browser
Database type & versionMySQL
Server OS (if known)
Webserver software & version (if known)
PHP Version7.4
Git branch / Pull Request URLN/A

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2024-03-06 07:41

developer   ~79738

Bug or development ?

c_schmitz

c_schmitz

2026-10-11 21:06

administrator   ~86311

Won't fix: The question theme list only shows installed themes on purpose. Themes that are only in the file system are not installed and should not be selectable.

Issue History

Date Modified Username Field Change
2024-03-05 18:57 p_teichmann New Issue
2024-03-06 07:41 DenisChenu Note Added: 79738
2024-03-06 07:41 DenisChenu Bug heat 0 => 2
2026-10-11 21:06 c_schmitz Note Added: 86311
2026-10-11 21:06 c_schmitz Bug heat 2 => 4
2026-10-11 21:06 c_schmitz Status new => closed
2026-10-11 21:06 c_schmitz Resolution open => @0@
2026-10-11 21:06 c_schmitz Resolution @0@ => won't fix