Closed (fixed)
Project:
Drupal core
Version:
11.x-dev
Component:
Claro theme
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
29 Mar 2026 at 08:48 UTC
Updated:
30 Sep 2026 at 07:10 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
quietone commentedComment #4
quietone commentedThere are failures in two files. How to fix these?
Why is a change of theme causing the user_role not to exist?
and
Admin theme has this in its .libraries.yml, and of course that won't exist. Can that be deleted or does it need to be moved or .. ?
Comment #5
catchLet's open a new issue about admin_custom_css - that looks like a Gin feature that we should not try to support in core at all, so I think we should remove the library altogether.
User role not existing, would need to debug the test probably.
Comment #7
daffie commentedDisclosure: I used AI to fix the failing tests.
Comment #8
daffie commentedThe Gitlab CI pipeline is now green.
Comment #9
quietone commentedIssue made for #5, #3621981: Remove admin-custom.css
Comment #10
quietone commentedActually postponed on that issue.
Comment #11
quietone commentedComment #12
quietone commentedComment #13
dcam commentedSetting to Needs Work for a rebase and the
ResolvedLibraryDefinitionsFilesMatchTestchange to be reverted.Comment #14
quietone commentedI made the change to ResolvedLibraryDefinitionsFilesMatchTest.
Unfortunately, I have run into a problem with generating the baseline. As you will be the commits, I tried a few times hoping to figure out why what I have done locally no longer works. I haven't found out why this is happening. And with GitLab being slow and this issue not getting updated. I give up for now.
Maybe someone else will have better luck.
Comment #15
quietone commentedOK, my problems were caused by the update of PHPStan, which has been reverted and a copy/paste error on my part that I just kept not seeing. The important thing is that tests are passing.
Comment #16
dcam commentedThere are several test classes that still reference Claro found via grep and also listed in the issue summary, including the following:
core/modules/help/tests/src/Kernel/HelpTopicsSyntaxTest.phpcore/modules/system/tests/src/Kernel/Theme/TwigNamespaceTest.phpcore/tests/Drupal/Tests/Core/Extension/ModuleRequiredByThemesUninstallValidatorTest.phpcore/tests/Drupal/Tests/Core/Theme/AjaxBasePageNegotiatorTest.phpcore/tests/Drupal/Tests/Core/Theme/CoreThemesAutoloadedForTestsTest.phpcore/themes/default_admin/tests/src/Unit/ImplementationNameTest.phpWere these omitted intentionally? If so I just want to make sure it's documented. There are a few classes where it looks like the reference to Claro doesn't matter much, but there are others where it seems like the reference needs to be changed.
Comment #18
quietone commented@dcam, thanks. I have been a bit behind on getting the issue summaries on these up to date.
I've updated the issue summary from the results in #16
Comment #19
quietone commentedComment #20
quietone commentedComment #21
quietone commentedThis might be postponed on #3605702: Remove remaining Gin and Claro implementation names from Default Admin theme.
Comment #22
quietone commentedActually ImplementationNameTest.php needs fixes over in #3605702: Remove remaining Gin and Claro implementation names from Default Admin theme, so setting this to needs reveiew
Comment #23
quietone commentedComment #24
daffie commentedAll code changes look good to me.
All remarks on the PR are answered.
For me it is RTBC.
Comment #25
needs-review-queue-bot commentedThe Needs Review Queue Bot tested this issue. It no longer applies to Drupal core. Therefore, this issue status is now "Needs work".
This does not mean that the patch necessarily needs to be re-rolled or the MR rebased. Read the Issue Summary, the issue tags and the latest discussion here to determine what needs to be done.
Consult the Drupal Contributor Guide to find step-by-step guides for working with issues.
Comment #26
catchNeeds a rebase.
Comment #27
quietone commentedStraightforward rebase
Comment #29
catchCommitted/pushed to main, thanks!
Moving to 11.x for backport.
Comment #32
smustgrave commentedBackport is all green.
Comment #33
mstrelan commentedReviewed the main commit and the backport side by side and they appear identical, RTBC +1.
Comment #35
catchCommitted/pushed to 11.x, thanks!