- Issue created by @rromore
- @rromore opened merge request.
- Merge request !6#3379128: Generated CSS file being deleted immediately after being created → (Open) created by rromore
- Status changed to RTBC
about 1 year ago 9:22am 18 December 2023 - 🇫🇷France ErwanMaire
I got the same issue with the 3.0.1 version + drupal 10.2.
The patch solve the issue, thanks - 🇩🇪Germany Volker23
Same issue here: 3.0.1 + D10.1.7
Patch applies and fixes the main problem of deleted css folder. But the patched module creates warnings like this:
Warning: Undefined array key "license" in Drupal\Core\Asset\CssCollectionOptimizerLazy->optimizeGroup() (line 160 of example.com/docroot/core/lib/Drupal/Core/Asset/CssCollectionOptimizerLazy.php)
when at the same time core aggregation is enabled. Do i need to set something else?
- 🇵🇱Poland azovsky
Thanks for the patch! But now I have other issue like "Failed to unlink file 'assets://css/menu_icons_1714057811.css'" on any clearing of Drupal caches.
- Status changed to Needs work
8 months ago 3:21pm 26 April 2024 - 🇺🇸United States caspervoogt
The patch worked (thanks!), but similar to azovsky, I ran into "The file public://css/menu_icons_1714514736.css was not deleted because it does not exist." when clearing Drupal caches. I had a look at the patch and module files but am unsure why this would happen, or how to address it.
- 🇺🇸United States rromore
Adding check to verify file exists before attempting to delete it.
- Status changed to Needs review
8 months ago 2:00am 1 May 2024 - Status changed to RTBC
7 months ago 11:16am 6 June 2024 - 🇵🇭Philippines mjgruta
The patch in MR6 works fine. Adding the code here just in case someone modifies the code.
- 🇮🇳India Tirupati_Singh
Hi, I've applied the MR !6 as a patch and it applied cleanly with no error. After applying the module functionality is working fine and getting no errors. I've attached the before and after fixes screenshots for reference. RTBC +1