Problem/Motivation

The search_api.index.default_index default configuration provided by search_api_db_default module raises the following configuration schema errors:

search_api.index.default_index:field_settings.status.index_locked missing schema, search_api.index.default_index:field_settings.uid.index_locked missing schema, search_api.index.default_index:field_settings.node_grants.index_locked missing schema

Steps to reproduce:

  • Install Search API DB Defaults.
  • Install Configuration Inspector for Drupal 8.
  • Navigate to /admin/config/development/configuration/inspect. The row for search_api.index.default_index shows three errors.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Comments

nedjo created an issue. See original summary.

nedjo’s picture

Status: Active » Needs review
StatusFileSize
new999 bytes

I'm not finding any usage of an index_locked property. Maybe these are leftover properties we can simply delete?

drunken monkey’s picture

StatusFileSize
new1.05 KB

Thanks a lot for reporting this issue and providing a patch!
However, the problem is actually that the settings key is indexed_locked, not index_locked. I have honestly no clue how this happened – apparently, we used a different settings key initially for this and forgot to update it there. (Playing around with git blame a bit didn't find it, though.)
Patch attached.

drunken monkey’s picture

Status: Needs review » Fixed

Committed. Thanks again!

  • drunken monkey committed 511a752 on 8.x-1.x authored by nedjo
    Issue #2960854 by nedjo, drunken monkey: Fixed "Database search defaults...
borisson_’s picture

Status: Needs review » Fixed

The status change of #4 didn't stick.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.