View Issue Details

This issue affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
20540Bug reportsOtherpublic2026-05-29 18:13
ReporterDenisChenu Assigned ToDenisChenu  
PrioritynoneSeverityminor 
Status closedResolutionunable to reproduce 
Product Version7.0.x 
Summary20540: Unable to update to 7 if have an incompatible theme
Description

When default theme, unable to update to the 7.0 version
(unsure it was theme, have to test more)

Steps To Reproduce

Steps to reproduce

Unsure here: need to find the exact way.

Install a 6.X version
Setup https://gitlab.com/SondagesPro/SurveyThemes/skelvanilla_ls6 (included)
Select this theme for a survey
Update to last 7

Expected result

Update done, theme was deactivated ,
Theme was set to inherited for incompatible
Default was set to a compatibe theme ( see $config['defaultfixedtheme'] in case )

Actual result

Loop (see screencast)

TagsNo tags attached.
Attached Files
skelvanilla.zip (826,142 bytes)
Bug heat6
Complete LimeSurvey version number (& build)7.0.0
I will donate to the project if issue is resolvedNo
Browserfirefox
Database type & versionmariadb
Server OS (if known)debian
Webserver software & version (if known)nginx
PHP Version8.3

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2026-05-28 11:12

developer   ~84933

No need to be default ...

DenisChenu

DenisChenu

2026-05-28 11:25

developer   ~84934

Confirmed: updating skelvanilla and extend_skelvanilla with <version>7</version> fixes the issue.

(But please, don't do it automatically.)

tibor.pacalat

tibor.pacalat

2026-05-28 11:56

administrator   ~84935

Is there something to fix then or not?

DenisChenu

DenisChenu

2026-05-28 12:04

developer   ~84937

Is there something to fix then or not?

Clearly yes: a simple user cannot update and gets stuck on the update screen.

DenisChenu

DenisChenu

2026-05-28 17:25

developer   ~84943

:( extend fruity work: one time and it's OK...

tibor.pacalat

tibor.pacalat

2026-05-28 17:59

administrator   ~84944

Sorry didn't get what you said in your last comment. Can you clarify?

DenisChenu

DenisChenu

2026-05-28 18:01

developer   ~84945

I test with a new installation

  1. Set up v6.x
  2. Extend vanilla
  3. Create survey and set extend_vanilla as theme
  4. Update

It's OK :(

There are something other in my previous test. BUT i didn't keep the database .....

tibor.pacalat

tibor.pacalat

2026-05-28 18:07

administrator   ~84946

Got it, please let me know if you figure it out or if I can close this ticket then.

DenisChenu

DenisChenu

2026-05-28 18:08

developer   ~84947

I try to make more test.
No reason it happen once (see screencast) a,nd not again.

Else : i close it for "No reproduce" :(

lajosarpad

lajosarpad

2026-05-29 10:57

developer   ~84950

PR for the issue can be found at https://github.com/LimeSurvey/LimeSurvey/pull/5015

tibor.pacalat

tibor.pacalat

2026-05-29 10:59

administrator   ~84951

Arpad made a PR https://github.com/LimeSurvey/LimeSurvey/pull/5015. Please take a look Denis.

DenisChenu

DenisChenu

2026-05-29 12:03

developer   ~84955

Last edited: 2026-05-29 12:04

Arpad made a PR https://github.com/LimeSurvey/LimeSurvey/pull/5015. Please take a look Denis.

OK ! Seems OK, i check with Group setting to skelvanilla then.

Then need

  1. Check all installed themes: check if they are compatible with 7, uninstall if not
  2. If no installed theme : install defaultfixedtheme
  3. If defaultfixedtheme is not compatible, install fruity_twentythree
  4. For each installed theme : check extended not compatible in SurveyGroup
  5. My opinion : set it to 'inherit' , Arpad set it to parent
  6. Finally check Group 0 theme, and set it to the defaultfixedtheme or the last theme
  7. Same for defaulttheme, and set it to the defaultfixedtheme or the last theme

ping @lajosarpad

PS : we can set defaultfixedtheme to fruity_twentythree in config-default now.

lajosarpad

lajosarpad

2026-05-29 12:15

developer   ~84957

We can set defaultfixedtheme to fruity_twentythree

lajosarpad

lajosarpad

2026-05-29 12:16

developer   ~84958

Also, please feel free to implement any suggestion that you may have and ping me here to reread the PR.

DenisChenu

DenisChenu

2026-05-29 12:22

developer   ~84959

Here, you do it only for fruity_twentythree : right ?

Not for extended vanilla, bootstrap, etc. OR skelvanilla and others.

lajosarpad

lajosarpad

2026-05-29 14:16

developer   ~84960

The PR is setting the template to fruity_twentythree if it's not either fruity_twentyhtree, an extension or inherit.

DenisChenu

DenisChenu

2026-05-29 15:15

developer   ~84962

The PR is setting the template to fruity_twentythree if it's not either fruity_twentyhtree, an extension or inherit.

WHAT ???

  1. extends_fruity_twentythree just before update: uninstalled since not compatible (config.xml show <vesion>6</version> only)
  2. We have vanilla + fruity + bootswatch in core
  3. skelvanilla is compatible with 7 now (and I think we'll have more in the future, since 6 versions are directly compatible with 7).
lajosarpad

lajosarpad

2026-05-29 15:29

developer   ~84963

Okay, so your position is that we do have some themes that are not fruity_twentythree which are compatible with version 7 which should not be changed upon upgrade. And hence, if I understand you properly, then the proposal would be to check which templates are compatible with LS7 and update those that aren't. Am I understanding you accurately?

DenisChenu

DenisChenu

2026-05-29 16:37

developer   ~84965

we do have some themes that are not fruity_twentythree

vanilla + fruity + bootswatch are already in core ! https://github.com/LimeSurvey/LimeSurvey/tree/master/themes/survey
What do you say herre ?

check which templates are compatible with LS7

If someone creates a 6+7 compatible template, why do we update it to inherit?

check which templates are compatible with LS7

Why disable the vanilla core theme but allow extend_fruity_twentyhtree not compatible with 7?

lajosarpad

lajosarpad

2026-05-29 17:09

developer   ~84966

"If someone creates a 6+7 compatible template, why do we update it to inherit?"

We are not updating anything to inherit. We exempt inherit from being updated.

"Why disable the vanilla core theme but allow extend_fruity_twentyhtree not compatible with 7?"

My understanding was that fruity_twentythree was to be supported along with extensions and nothing else. If this understanding was wrong, then the PR needs to be adjusted.

DenisChenu

DenisChenu

2026-05-29 17:20

developer   ~84967

We are not updating anything to inherit. We exempt inherit from being updated.

You say "The PR is setting the template to fruity_twentythree if it's not either fruity_twentyhtree, an extension or inherit."

And here, looking at code : if User set default group to vanilla : the code move it fruity_twentythree

My understanding was that fruity_twentythree was to be supported along with extensions and nothing else. If this understanding was wrong, then the PR needs to be adjusted.

Where did you see that? I never write this!
I just say, I have a loop when I try to upgrade with a non-compatible theme.

lajosarpad

lajosarpad

2026-05-29 17:51

developer   ~84969

"And here, looking at code : if User set default group to vanilla : the code move it fruity_twentythree"

As explained in my previous comment, if a template is not fruity_twentythree nor an extension of it, then the PR sets it to fruity_twentythree. So this is what the PR is doing:

  1. template is "fruity_twentythree" -> do nothing
  2. template is an extension of "fruity_twentythree" -> do nothing
  3. template is "inherit" -> do nothing
  4. template is something else -> changes it to fruity_twentythree

This is the current behavior of the PR. You expressed disagreement, so I said the following:

"My understanding was that fruity_twentythree was to be supported along with extensions and nothing else. If this understanding was wrong, then the PR needs to be adjusted."

which of course not something you said, because it was me who said it. I was trying to tell you that if the behavior of the PR is incorrect, then it is due to a misunderstanding of the intentions on my part.

DenisChenu

DenisChenu

2026-05-29 17:56

developer   ~84970

OK, there are isse, but not real loop

I extend vanilla to extend_vanilla , adn set it as Default theme of group
I extend fruity_twentythree to extend_fruity_twentythree , and set it as Default theme of group 0 and a new group and as default

I have 2 times the alert before the update + one time after the update for the default theme.

Last check, and I close the issue.

lajosarpad

lajosarpad

2026-05-29 18:01

developer   ~84973

Thank you. I can close the PR then.

DenisChenu

DenisChenu

2026-05-29 18:07

developer   ~84974

Please wait,

Did you see the screencast ?
There is a potential loop here!

I wite «Last check, and I close the issue.»

... there are a reason.

I think I'm old enough to close the issue on my own.

DenisChenu

DenisChenu

2026-05-29 18:13

developer   ~84975

No loop again, just 2 time (related to the 2 group ? )

Issue History

Date Modified Username Field Change
2026-05-28 10:59 DenisChenu New Issue
2026-05-28 10:59 DenisChenu File Added: Capture vidéo du 2026-05-28 10-51-55.mp4
2026-05-28 10:59 DenisChenu File Added: skelvanilla.zip
2026-05-28 11:12 DenisChenu Note Added: 84933
2026-05-28 11:12 DenisChenu File Added: Capture d’écran du 2026-05-28 11-12-11.png
2026-05-28 11:12 DenisChenu File Added: Capture d’écran du 2026-05-28 11-12-21.png
2026-05-28 11:12 DenisChenu Bug heat 0 => 2
2026-05-28 11:15 DenisChenu Summary Unable to update to 7 if have an default incompatible theme => Unable to update to 7 if have an incompatible theme
2026-05-28 11:15 DenisChenu Steps to Reproduce Updated
2026-05-28 11:16 DenisChenu Steps to Reproduce Updated
2026-05-28 11:25 DenisChenu Note Added: 84934
2026-05-28 11:56 tibor.pacalat Note Added: 84935
2026-05-28 11:56 tibor.pacalat Bug heat 2 => 4
2026-05-28 12:04 DenisChenu Note Added: 84937
2026-05-28 12:27 tibor.pacalat Assigned To => DenisChenu
2026-05-28 12:27 tibor.pacalat Status new => assigned
2026-05-28 17:25 DenisChenu Note Added: 84943
2026-05-28 17:59 tibor.pacalat Note Added: 84944
2026-05-28 18:01 DenisChenu Note Added: 84945
2026-05-28 18:07 tibor.pacalat Note Added: 84946
2026-05-28 18:08 DenisChenu Note Added: 84947
2026-05-29 10:57 lajosarpad Note Added: 84950
2026-05-29 10:57 lajosarpad Bug heat 4 => 6
2026-05-29 10:59 tibor.pacalat Note Added: 84951
2026-05-29 12:03 DenisChenu Note Added: 84955
2026-05-29 12:04 DenisChenu Assigned To DenisChenu => lajosarpad
2026-05-29 12:04 DenisChenu Note Edited: 84955
2026-05-29 12:15 lajosarpad Note Added: 84957
2026-05-29 12:16 lajosarpad Note Added: 84958
2026-05-29 12:22 DenisChenu Note Added: 84959
2026-05-29 14:16 lajosarpad Note Added: 84960
2026-05-29 15:15 DenisChenu Note Added: 84962
2026-05-29 15:29 lajosarpad Note Added: 84963
2026-05-29 16:37 DenisChenu Note Added: 84965
2026-05-29 17:09 lajosarpad Note Added: 84966
2026-05-29 17:20 DenisChenu Note Added: 84967
2026-05-29 17:51 lajosarpad Note Added: 84969
2026-05-29 17:56 DenisChenu Note Added: 84970
2026-05-29 17:58 DenisChenu Steps to Reproduce Updated
2026-05-29 18:01 lajosarpad Note Added: 84973
2026-05-29 18:07 DenisChenu Note Added: 84974
2026-05-29 18:07 DenisChenu Assigned To lajosarpad => DenisChenu
2026-05-29 18:13 DenisChenu Note Added: 84975
2026-05-29 18:13 DenisChenu File Added: Capture vidéo du 2026-05-29 18-11-53.mp4
2026-05-29 18:13 DenisChenu Status assigned => closed
2026-05-29 18:13 DenisChenu Resolution open => unable to reproduce