View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 19572 | Bug reports | Survey taking | public | 2024-05-23 14:40 | 2026-10-22 05:11 |
| Reporter | TonisOrmisson | Assigned To | c_schmitz | ||
| Priority | none | Severity | minor | ||
| Status | resolved | Resolution | fixed | ||
| Product Version | 6.5.x | ||||
| Summary | 19572: beforeSurveyPage event is not changing the display template | ||||
| Description | Attaching another template (different from the one attached to survey by default) via beforeSurveyPage event does not change the displayed survey template. The event has only possible output defined by the manual:
| ||||
| Steps To Reproduce | Steps to reproduce
Expected resultSurvey is displayed with the template defined via plugin Actual resultSurvey is displayed with the template defined via survey settings (ie: plugin settinig has no effect) | ||||
| Tags | No tags attached. | ||||
| Bug heat | 2 | ||||
| Complete LimeSurvey version number (& build) | 6.5.9 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | |||||
| Database type & version | mysql | ||||
| Server OS (if known) | |||||
| Webserver software & version (if known) | |||||
| PHP Version | 8.2 | ||||
| Git branch / Pull Request URL | N/A | ||||
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=40976 |
|
|
LimeSurvey: master 7cf74928 2026-10-22 05:11 Details Diff |
Fixed issue 19572: A survey theme set by a plugin in the beforeSurveyPage event was ignored Dev The event value went to the unused templatedir key; templatereplace() and the survey-level theme config parent lookup also fell back to the survey's own theme |
Affected Issues 19572 |
|
| mod - application/controllers/UploaderController.php | Diff File | ||
| mod - application/controllers/survey/SurveyIndex.php | Diff File | ||
| mod - application/helpers/replacements_helper.php | Diff File | ||
| mod - application/models/TemplateConfiguration.php | Diff File | ||
| mod - tests/unit/models/TemplateConfigurationTest.php | Diff File | ||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2024-05-23 14:40 | TonisOrmisson | New Issue | |
| 2024-05-23 14:40 | TonisOrmisson | File Added: image.png | |
| 2024-05-23 14:40 | TonisOrmisson | File Added: image-2.png | |
| 2024-05-23 16:13 | TonisOrmisson | File Deleted: image.png | |
| 2024-05-23 16:13 | TonisOrmisson | File Deleted: image-2.png | |
| 2026-10-22 05:11 | c_schmitz | Changeset attached | => LimeSurvey master 7cf74928 |
| 2026-10-22 05:11 | c_schmitz | Note Added: 86687 | |
| 2026-10-22 05:11 | c_schmitz | Assigned To | => c_schmitz |
| 2026-10-22 05:11 | c_schmitz | Status | new => resolved |
| 2026-10-22 05:11 | c_schmitz | Resolution | open => fixed |
| 2026-10-22 05:12 | guest | Bug heat | 0 => 2 |