Problem/Motivation

This was discovered during #3341682: New config schema data type: `required_label`.

It turns out that SearchPage entities are migrated without labels. It's not clear how migrated search pages appear in the UI, then, since the entity type has no special handling for labels.

Proposed resolution

Ensure that search pages have labels when they are migrated, and then make search page labels required in config schema (using the required_label data type introduced by #3341682: New config schema data type: `required_label`).

Remaining tasks

Fix the migration first, and ensure the test coverage is up-to-date. Then make the config schema change to match.

User interface changes

None, really.

API changes

Not really.

Data model changes

Search pages will be required to have labels.

Release notes snippet

TBD

Comments

phenaproxima created an issue. See original summary.

wim leers’s picture

Title: SearchPage entities are migrated without labels » SearchPage entities implicitly require labels: make explicit, and fix migration from D7
Issue tags: +Configuration schema, +validation
wim leers’s picture

Component: migration system » search.module

Version: 11.x-dev » main

Drupal core is now using the main branch as the primary development branch. New developments and disruptive changes should now be targeted to the main branch.

Read more in the announcement.

quietone’s picture

The Search Module was approved for removal in #3476883: [Policy, no patch] Move Search module to contrib .

This is Postponed. The status is set according to two policies. The Remove a core extension and move it to a contributed project and the Extensions approved for removal policies.

The deprecation work is in #3565780: [meta] Tasks to deprecate the Search module and the removal work in #3565783: [meta] Tasks to remove the Search module.

Search will be moved to a contributed project before Drupal 12.0.0 is released.