Closed (fixed)
Project:
Color backport
Version:
1.x-dev
Component:
Code
Priority:
Critical
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
11 Aug 2022 at 10:32 UTC
Updated:
3 Sep 2022 at 13:29 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
longwaveI think this is critical now:
Comment #3
spokjeWeirdly, for me
drupal/color-colorstill exists, even after a composer cache clear:Comment #5
spokjeLooking at the previous fail using an MR in #3302976: Port remaining changes from core, let's do the same as we did in there and test the plain diff as a patch as well.
Comment #6
spokjeWell, the MR passing by itself is a pleasant surprise and I think it firmly points the MR test-failure in the other issue is caused by
drupal/color-color.Comment #7
longwaveThe passing MR is indeed encouraging, so marking this RTBC.
Comment #9
andypostThank, gonna commit #3302976: Port remaining changes from core
Comment #10
andypostMR could be closed, sorry missed it
Comment #12
sah62 commentedAre you sure this is fixed? I just did the following:
Put my site into maintenance mode
Uninstalled the backported color module
Removed drupal/color-color using composer
Installed drupal/color using composer
Enabled the color module
Tried to take the site out of maintenance mode, and bam! The site crashes and there are three errors in my log:
Did I do something wrong, or is something still broken here? If I reinstall drupal/color-color (along with drupal/color) it all works again
Comment #13
andypostThat's strange, just used to
composer require drupal/colorand it used to install it intomodules/custom/colorComment #14
sah62 commentedI have both color and color-color installed by composer in modules/contrib. When I tried color by itself I get the errors described above.
Comment #15
andypostsadly I can't reproduce it
could you remove both and require
drupal/color?Comment #16
sah62 commentedDone, running with just drupal/color. I'm still getting the errors when I try to move to a page that displays a page with color configured, like my web site's home page. The same errors appear when I try to save the configuration for my color-enabled theme, Bartik. Here's the call stack for the first error:
I've cleared my composer cache and flushed caches with drush. Did I miss something?
Comment #17
andypostweb/modules/contrib/color-color/src/ColorSystemBrandingBlockAlter.php): failed to open stream: No such file or directory in include() (line 571 of /var/www/mysite/vendor/composer/ClassLoader.php)which means that composer's cassloader still looking into "color-color" for some reason, very probably the issue is because opcache or apcu caching code so you need to reload php-fpm (pkill -USR2 php-fpm)
Comment #18
sah62 commentedThat did the trick - thank you!