When you are trying to add available theme on route/available-theme/add select box listing themes is empty.

Module is not loading list of enabled themes to allow choosing any.

empty theme select box

Issue fork tsbu-3546364

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

sebaz created an issue. See original summary.

sebaz’s picture

sebaz’s picture

Issue summary: View changes
sourabhsisodia_’s picture

Assigned: Unassigned » sourabhsisodia_

sourabhsisodia_’s picture

Assigned: sourabhsisodia_ » Unassigned
Status: Active » Needs review
sebaz’s picture

It works. For me it can be released ASAP because module now doesn't work without this patch

vinodhini.e’s picture

Hi, Module was installed on Drupal 11.2.3.
Observed an issue where the theme select box on /available-theme/add was empty, preventing selection of available themes.
After applying the Merge #4 , all available themes are correctly listed, and the functionality works as expected.
Thanks.

divya.sejekan’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new57.97 KB
new56.08 KB

Applied MR!4 , gets applied cleanly.
Issue is resolved , all the themes are avaliable now for selection in /available-theme/add

RTBC++

sebaz’s picture

Status: Reviewed & tested by the community » Needs work
StatusFileSize
new23.65 KB

Rollback of testing. List is rendering but save the settings is impossible. Still some validation do not like it.

Error message
The value you selected is not a valid choice.

Add select theme 2

sebaz’s picture

Title: Add available themes select box is empty » Saing available themes is not working and select box of themes is empty

Renaming the issue to cover the entire problem of displaying and saving the available themes.

sebaz’s picture

Title: Saing available themes is not working and select box of themes is empty » Saving available themes is not working and select box of themes is empty

Typo correction

pablo_pukha’s picture

Hello! This issue related to extension reference field module and extension status check in this module. Also I get bug with label after save available theme. I fix bug with extension reference field in latest release. And fix bug with label in latest release of theme switcher by user. Please update both modules to latest versions and check if bug exists

pablo_pukha’s picture

Status: Needs work » Needs review

vinodhini.e’s picture

Hi, Tested with the latest releases of Extension Reference Field and Theme Switcher by User modules.

All available themes are correctly listed.
Able to save the selected theme successfully. Thanks.

sebaz’s picture

A 3-day issue. Great.

I can confirm that newest versions solves the problem.

Maybe composer or info.yml should have dependency on Extension Reference Field on certain version? If it is so issue is fixed IMHO

pablo_pukha’s picture

Status: Needs review » Fixed

Now that this issue is closed, please review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, please credit people who helped resolve this issue.

pablo_pukha’s picture

Status: Fixed » Closed (fixed)