Problem/Motivation
10.0.4 includes an update hook search_api_attachments_update_8004 which reruns a previous update hook to set default values.
However, we have already deployed 10.0.3 with the value changed from default.
This leads to the value for cache_backend being changed in the update hook - which then leads to the cache backend we were using being cleared due to the config event subscriber. This is a very undesirable outcome for us as we have a large file cache in place.
Issue fork search_api_attachments-3533059
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
ericgsmith commentedComment #3
ericgsmith commentedComment #4
izus commentedoh good catch
please suggest a patch or MR
thanks for this
Comment #5
ericgsmith commentedComment #9
ericgsmith commentedLooking at #3532203: Could not find the fields "Path to java executable" and "Path to Tika .jar file" I've updated the
search_api_attachments_update_8004so that it only modified the config if needed, and doesn't touch the cache backend value set by the previous update hook.It will be too late for sites who have already updated, but some warning text on the 10.0.4 release notes could be a good idea.
Comment #11
izus commentedthis is now merged
10.0.5 was published and warning added to 10.0.4 as suggested
many thanks ericgsmith
Comment #12
izus commented