Problem/Motivation
#3001660: Fix Umami's responsive layout styles introduced a new css file to umami.libraries.yml:
css/components/regions/page-title/page-title.css: {}
However, this file does not exist.
Steps to reproduce
- Install Umami
- Disable CSS aggregation
- Note the 404 in the Network tab in the browser development tools: core/profiles/demo_umami/themes/umami/css/components/regions/page-title/page-title.css
Proposed resolution
Remove css/components/regions/page-title/page-title.css: {} from umami.libraries.yml
Remaining tasks
- Write a patch
- Review
- Commit
User interface changes
None.
API changes
None.
Data model changes
None.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | umami-includes-non-existing-file-3199284-4.patch | 701 bytes | indrajithkb |
Comments
Comment #2
markconroy commentedThanks for posting this issue.
I'm not sure how that happened. We do have a page-title.css file, but it's in the /blocks directory of the theme, not the /regions directory.
https://git.drupalcode.org/project/drupal/-/blob/9.2.x/core/profiles/dem...
Comment #3
indrajithkb commentedComment #4
indrajithkb commentedHi, I have removed the css/components/regions/page-title/page-title.css: {} from umami.libraries.yml. Please review the patch.
Comment #5
shaalThank you @Indrajith KB for the patch.
I think the patch should remove the current page-title.css reference from umami.libraries.yml,
and then add the correct location of the file -
css/components/blocks/page-title/page-title.cssYou did the removal part in #4.
Can you please add the correct location of the file?
Comment #6
indrajithkb commentedHi @shaal , "css/components/blocks/page-title/page-title.css" this location already exists in the umami.libraries.yml file.
Comment #7
gauravvvv commentedYes, css/components/blocks/page-title/page-title.css: {} this file path is already present in umami.libraries.yml file.
I think patch #4 is good to go.
Comment #8
gauravvvv commentedComment #9
shaalThank you, I forgot to change the status to RTBC :)
Comment #12
larowlanCommitted 0bbcb5d and pushed to 9.2.x. Thanks!
Cherry-picked to 9.1.x as the risk of disruption is low