No longer possible to override core using `override_search_core`

Created on 5 January 2023, over 2 years ago
Updated 18 September 2024, 7 months ago

After updating from 3.0.5 to 3.1.1 our search broke for a client that was sharing a common core between ACSF sites. We are overriding the core selection using the method documented in the module README by setting the `override_search_core` value in a settings.php. Since this broke our site and the approach still appears to be supported by the module I've set the priority to Major.

The code preventing the override from working correctly is a check that prevents overrides on Acquia environments https://git.drupalcode.org/project/acquia_search/-/blob/3.1.x/src/EventS...

  public function onGetPossibleCores(AcquiaPossibleCoresEvent $event) {
    // Never allow overridden settings on Acquia Cloud.
    if ($this->subscription->getProvider() === 'acquia_cloud') {
      return;
    }
πŸ› Bug report
Status

Fixed

Version

3.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States ctrladel North Carolina, USA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024