Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
It seems like core/themes/bartik/templates/node.html.twig
is referencing a Claro library instead of a Bartik library.
Proposed resolution
Reference a Bartik template instead of Claro.
Remaining tasks
Comment | File | Size | Author |
---|---|---|---|
#2 | 3115153-2.patch | 451 bytes | lauriii |
Comments
Comment #2
lauriiiComment #3
lauriiiComment #4
lauriiiComment #5
Hardik_Patel_12 CreditAttribution: Hardik_Patel_12 at QED42 for Drupal India Association commentedLGTM, +1 RTBC.
Comment #6
alexpottComment #7
alexpottHow come tests don't find this?
Committed and pushed 02d5e653f9 to 9.0.x and e9a0e67164 to 8.9.x. Thanks!
Comment #10
lauriii@alexpott I don't think we have tests ensuring
attach_library
calls are referring to correct theme, we have tests ensuring thatattach_library
doesn't refer to libraries in Classy.Comment #11
alexpottSo if \Drupal\FunctionalTests\Theme\BartikTest had visited a node then we would have seen an error?
Comment #12
lauriiiYes, we would see an error assuming that Claro wasn't enabled on that test.