View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
20106 | Bug reports | Survey editing | public | 2025-05-15 14:02 | 2025-05-15 16:27 |
Reporter | riku | Assigned To | marcolombardo | ||
Priority | none | Severity | minor | ||
Status | assigned | Resolution | open | ||
Summary | 20106: PR 04118 breaks the loading of Survey options with force_xmlsettings_for_survey_rendering enabled. | ||||
Description | Specifically the changes on lines 709 and 712 in application/core/LSETwigViewRenderer.php now give result in 'N/A' for the theme's config.xml options: https://github.com/LimeSurvey/LimeSurvey/pull/4118/files#diff-13389663d7f722bfdc7f856fb756237f993648facfd80697d9fe6f241f40027bR709-R712. The issue occurs as is_string(SimpleXMLElement Object) is false. Reverting these two lines fixes the issue. | ||||
Steps To Reproduce | The easiest way to see this in action would be to compare how the theme settings are applied in either case. Steps to reproduce
Expected resultThe Survey content is aligned within container-md as the 'vanilla' theme by default has the container value set to 'on' in it's config.xml Actual resultThe Survey container setting cannot be retrieved (results in N/A) and therefore the content is aligned in container-fluid (edge to edge), even though the 'vanilla' theme by default has the container value set to 'on' in it's config.xml. | ||||
Tags | No tags attached. | ||||
Bug heat | 0 | ||||
Complete LimeSurvey version number (& build) | 6.13.2 github | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | |||||
Database type & version | 10.11.11-MariaDB | ||||
Server OS (if known) | |||||
Webserver software & version (if known) | Apache/2.4.62 | ||||
PHP Version | 8.1.32 | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2025-05-15 14:02 | riku | New Issue | |
2025-05-15 16:27 | tibor.pacalat | Assigned To | => marcolombardo |
2025-05-15 16:27 | tibor.pacalat | Status | new => assigned |