View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
18085 | Bug reports | Assets | public | 2022-05-05 21:00 | 2022-07-11 11:24 |
Reporter | mhladun | Assigned To | gabrieljenik | ||
Priority | none | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 5.3.x | ||||
Fixed in Version | 5.3.x | ||||
Summary | 18085: Renamed custom theme not updated in global survey settings | ||||
Description | I have a custom theme, ABC, that extends bootswatch/vanilla. After renaming it using the Theme Editor, to ABC2, it is correctly saved in the database table lime_global_settings as stg_value = 'ABC2' where stg_name = 'defaulttheme', however, the global survey settings theme is not updated to the ABC2 automatically. And so if I go to begin a survey, I end up getting a PHP Warning like Undefined property: TemplateConfiguration::$options To fix this, I have to manually go and set Theme = ABC2 in Configs -> Global survey -> Theme. I find it reverts to bootswatch each time I rename a child theme. Not a huge issue, but it might bother others. | ||||
Steps To Reproduce | Steps to reproduceRename a theme using the Theme Editor. Expected resultNo PHP warning is thrown, and the theme is applied to the survey. Actual resultThe PHP warning, described above, is thrown. | ||||
Tags | No tags attached. | ||||
Bug heat | 8 | ||||
Complete LimeSurvey version number (& build) | 5.3.10 220419 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | Chrome | ||||
Database type & version | Postgresql, EnterpriseDB 10.9.17 | ||||
Server OS (if known) | Windows | ||||
Webserver software & version (if known) | NGINX | ||||
PHP Version | PHP 8, php-cgi | ||||
Sorry about the duplicate issues everyone. I was getting an error saying a Discord plugin was not working, and that I should go back and revise my issue and resubmit it. |
|
Removed the duplicates |
|
This happens when you rename the default theme, right? |
|
debug > 0 ? This happen a lot of time in 1st laod, if you reload survey (2 times) : it don't work ? |
|
This is interesting |
|
Gabriel, Denis, |
|
The bug for me is: "When you rename a theme, which is the default, the defauls theme setting is not properly updated". |
|
That's a good way of phrasing it, thanks. Is there a way for me to edit the issue to add that? |
|
Hi, Thanks for feedback, about reloading : i have to check exactly how it can be reproducible … maybe with Theo of group too … Without debug : you have a broken theme (bas css/js) 2 times. |
|
Denis, setting debug to 0, I receive a page stating, 500: Internal Server Error |
|
I also tried refreshing multiple times and get the same error. |
|
When renaming a theme, the surveys are updated, and the defaults (the default at the global settings level). |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=33631 |
|
Fixed in Release 5.3.24+220711 |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2022-05-05 21:00 | mhladun | New Issue | |
2022-05-05 21:02 | mhladun | Note Added: 69442 | |
2022-05-05 21:02 | mhladun | Bug heat | 0 => 2 |
2022-05-06 00:29 | gabrieljenik | Note Added: 69447 | |
2022-05-06 00:29 | gabrieljenik | Bug heat | 2 => 4 |
2022-05-06 00:31 | gabrieljenik | Note Added: 69448 | |
2022-05-06 08:39 | DenisChenu | Note Added: 69451 | |
2022-05-06 08:39 | DenisChenu | Bug heat | 4 => 6 |
2022-05-06 15:16 | gabrieljenik | Note Added: 69473 | |
2022-05-06 16:00 | mhladun | Note Added: 69482 | |
2022-05-06 16:06 | gabrieljenik | Note Added: 69483 | |
2022-05-06 16:08 | mhladun | Note Added: 69484 | |
2022-05-06 16:34 | DenisChenu | Note Added: 69487 | |
2022-05-06 16:41 | mhladun | Note Added: 69488 | |
2022-05-06 16:41 | mhladun | Note Added: 69489 | |
2022-05-09 17:10 | gabrieljenik | Assigned To | => gabrieljenik |
2022-05-09 17:10 | gabrieljenik | Status | new => assigned |
2022-05-09 17:10 | gabrieljenik | Status | assigned => new |
2022-05-16 22:06 | gabrieljenik | Status | new => confirmed |
2022-05-20 20:56 | gabrieljenik | Status | confirmed => ready for testing |
2022-05-20 20:56 | gabrieljenik | Note Added: 69941 | |
2022-05-20 21:01 | gabrieljenik | Issue cloned: 18138 | |
2022-07-05 15:21 | gabrieljenik | Assigned To | gabrieljenik => DenisChenu |
2022-07-05 15:21 | gabrieljenik | Status | ready for testing => ready for code review |
2022-07-06 08:29 | gabrieljenik | Changeset attached | => LimeSurvey master 3706e7da |
2022-07-06 08:29 | gabrieljenik | Note Added: 70758 | |
2022-07-06 08:29 | gabrieljenik | Assigned To | DenisChenu => gabrieljenik |
2022-07-06 08:29 | gabrieljenik | Resolution | open => fixed |
2022-07-06 08:38 | DenisChenu | Status | ready for code review => resolved |
2022-07-06 08:38 | DenisChenu | Fixed in Version | => 5.3.x |
2022-07-11 11:24 | LimeBot | Note Added: 70827 | |
2022-07-11 11:24 | LimeBot | Status | resolved => closed |
2022-07-11 11:24 | LimeBot | Bug heat | 6 => 8 |